Connecting Commands |
These commands connect two or more nodes. The two basic ones are
\nodeconnect[fromloc]{fromnodename}[toloc]{tonodename} \nodecurve[fromloc]{fromnodename}[toloc]{tonodename}{depth}
Other connecting commands are
\barnodeconnect[depth]{fromnodename}{tonodename} \anodeconnect[fromloc]{fromnodename}[toloc]{tonodename} \anodecurve[fromloc]{fromnodename}[toloc]{tonodename}{depth}For example,
\node{c}{\strut This} \node{a}{\strut is} a \node{b}{\strut test} of barnodeconnect. \barnodeconnect{a}{b} \barnodeconnect[-5pt]{a}{c} \bigskip\bigskip \node{c}{\strut This} \node{a}{\strut is} a \node{b}{\strut test} \node{d}{\strut of} abarnodeconnect. \node{e}{\strut Note} arrows. \abarnodeconnect[10pt]{a}{b} \abarnodeconnect[-10pt]{a}{c} \abarnodeconnect[-10pt]{b}{d} \abarnodeconnect[10pt]{e}{d}A negative depth places the bar below the line; a positive depth (or the default, which is 5pt) places the bar above the line.
A few odd commands
\nodetriangle{fromnodename}{tonodename}This creates a triangle whose apex is the bottom of
fromnodename
and whose base is the top of tonodename
.
\anodeconnect
and \anodecurve
are the same as
\nodeconnect
and \node-
curve
except that the connecting
line has a arrowhead on it pointing to the second node.
Connecting Commands |