Nodes/Arrows
Bernd Brandt
bernd at bio.vu.nl
Wed May 3 22:18:54 CEST 2000
-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------
Dear All,
I would like to ask you a node connection question.
The problem is the following.
I have an arrow from node A to node B. I would like another arrow to
merge with this arrow. Does someone know how to accomplish this?
The basic idea is:
B
|
\
A -----------> C
"The A binds B and then enters state C"
I have the following code for the nodes. I do not know how to introduce
merge an arrow from B with the arrow from A to C (example above).
\newlength{\MyLength}
\settowidth{\MyLength}{$E_{01}$}
\newcommand{\MyNode}[2]{\circlenode{#1}{\makebox[\MyLength]{#2}}}
\begin{pspicture}(2,2)(10,10)
\rput(2,6){\MyNode{A}{$E_{00}$}}
\rput(6,8){\MyNode{B}{$E_{01}$}}
\rput(6,4){\MyNode{C}{$E_{10}$}}
\rput(10,6){\MyNode{D}{$E_{11}$}}
\ncline[nodesep=5pt]{->}{A}{B}
\naput{$\lambda_A$}
\ncline[nodesep=5pt]{->}{A}{C}
\naput{$\lambda_B$}
\ncline[nodesep=5pt]{->}{B}{D}
\naput{$\lambda_B$}
\ncline[nodesep=5pt]{->}{C}{D}
\naput{$\lambda_A$}
\nccurve[nodesep=5pt,ncurv=1,angleA=-90,angleB=-90]{->}{D}{A}
\naput{$\lambda_H$}
\end{pspicture}
Kind regards,
Bernd Brandt
-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------
More information about the PSTricks
mailing list