different ports are located exactly at the same place
Submitted by tamar_a_roulettes on Wed, 12/05/2012 - 14:12
Hi,
Within the following example, I am enable to distinguish port1 and port2.
digraph "test"{
node [shape=rect margin=0.2];
A->B [sametail=port1]
A->C [sametail=port1]
B->A [samehead=port2]
C->A [sametail=port2]
}
Any Idea ?
Thanks.
Recent comments
- No, 2.28 is a release
1 day 3 hours ago - Ok finaly i have time to test
1 day 8 hours ago - Well, there should be an
3 days 19 hours ago - Sorry, yes, the parallel edge
3 days 20 hours ago - I want more and more ...
5 days 20 hours ago - Graphviz provides a small
6 days 8 hours ago - Actually, we have been
1 week 5 hours ago - What machine are you running
1 week 19 hours ago - Graphviz is a collection of
1 week 1 day ago - Thanks. I tried running it
1 week 2 days ago

Unfortunately, samehead and
Unfortunately, samehead and sametail will map to the same point on A. If you want to separate them, try adding some artificial ports:
digraph "test"{
node [shape=rect margin=0.2];
A [margin=0 shape=none label=<<TABLE CELLBORDER="0" CELLSPACING="0">
<TR><TD COLSPAN="5" WIDTH="54" HEIGHT="36">A</TD></TR>
<TR><TD></TD><TD PORT="1"></TD><TD></TD><TD PORT="2"></TD><TD></TD></TR>
</TABLE>>]
A:1->B
A:1->C
B->A:2
C->A:2
}