How can I direct edge to get out of the diamond on the right?
Posted
by Didier Trosset
on Stack Overflow
See other posts from Stack Overflow
or by Didier Trosset
Published on 2010-05-06T13:12:26Z
Indexed on
2010/05/07
7:48 UTC
Read the original article
Hit count: 318
I have a simple dot diagram to show how to perform tests.
PerformTests; PerformTests<---+
PerformTests -> TestsPassed; | |
TestsPassed [shape="diamond"]; v |
TestsPassed -> Release [label="Yes"]; TestsPassed |
TestsPassed -> FixErrors [label="No"]; Y| N\ |
FixErrors -> PerformTests; v FixErrors
Release
The diagram shows square boxes for all nodes, except TestPassed that has a diamond shape. My issue is here. I'd like the edge that goes outside of the diamond for No to be getting out of the diamond at the right (east) instead of oblique down-right (south-east).
What I have What I want
^ ^
/ \ / \
< > < >--->
\ /\ \ /
v \ v
I've seen such compass_pt
in the dot grammar, but cannot figure out how to use it. I what I want possible, and how to do it?
© Stack Overflow or respective owner