I'm trying to achieve something like the following:
(Please ignore the node styles, I've sorted that part, it's the edges I'm struggling with!)
My diagrams can have undirected edges that join arbitrary sets of nodes together; I use small perpendicular marks to distinguish different edges. So for example, the rightmost edge above is a single edge with two source nodes and a single target, and the two edges to its left are distinct.
My questions are:
How can I easily add the perpendicular marks (I'd ideally like to say "add a small mark after 70% of the edge")?
How do I specify an edge with multiple source nodes (or multiple target nodes)? I suppose I'd like to specify a point "someway" between the connection points as the "convergence" point of the edges.
I realise number 2 is quite vague, since I haven't specified precisely what I want, but I hope someone can point me in the right direction!
My (very) poor attempt so far is as follows:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\node[draw, circle] (p0) {};
\node[draw, circle] (p1) [right of=p0] {};
\node[draw, circle] (p2) [above right of=p1] {};
\node[draw, circle] (p3) [below right of=p1] {};
\node[draw, circle] (p4) [below right of=p2] {};
\draw (p0.east) to (p1.west);
\draw (p1.east) to (p2.west);
\draw (p1.east) to (p3.west);
\draw (p2.east) -- (p3.east) -- (p4.west); % This is just wrong! :-)
\end{tikzpicture}
\end{document}
Thanks!