different ports are located exactly at the same place

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.

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
}
 

Recent comments