| 1 |
digraph G { |
| 2 |
rankdir=LR |
| 3 |
node [shape=plaintext] |
| 4 |
a [ |
| 5 |
label=< |
| 6 |
<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> |
| 7 |
<TR><TD ROWSPAN="3" BGCOLOR="yellow">class</TD></TR> |
| 8 |
<TR><TD PORT="here" BGCOLOR="lightblue">qualifier</TD></TR> |
| 9 |
</TABLE>> |
| 10 |
] |
| 11 |
b [shape=ellipse style=filled |
| 12 |
href="http://www.graphviz.org/content/node-shapes" |
| 13 |
label=< |
| 14 |
<TABLE BGCOLOR="bisque" href="http://www.graphviz.org/content/node-shapes#html"> |
| 15 |
<TR><TD COLSPAN="3" BGCOLOR="bisque" href="http://go/wiki/Elephant">elephant</TD> |
| 16 |
<TD ROWSPAN="2" BGCOLOR="chartreuse" |
| 17 |
VALIGN="bottom" ALIGN="right">two</TD> </TR> |
| 18 |
<TR><TD COLSPAN="2" ROWSPAN="2"> |
| 19 |
<TABLE BGCOLOR="grey" href="http://go/wiki/Grey"> |
| 20 |
<TR> <TD href="http://go/wiki/Sweet_corn">corn</TD> </TR> |
| 21 |
<TR> <TD BGCOLOR="yellow">c</TD> </TR> |
| 22 |
<TR> <TD href="http://go/wiki/F">f</TD> </TR> |
| 23 |
</TABLE> </TD> |
| 24 |
<TD BGCOLOR="white">penguin</TD> |
| 25 |
</TR> |
| 26 |
<TR> <TD COLSPAN="2" BORDER="4" ALIGN="right" PORT="there">4</TD> </TR> |
| 27 |
</TABLE>> |
| 28 |
] |
| 29 |
c [ |
| 30 |
label=<long line 1<BR/>line 2<BR ALIGN="LEFT"/>line 3<BR ALIGN="RIGHT"/>> |
| 31 |
] |
| 32 |
|
| 33 |
subgraph { rank=same b c } |
| 34 |
a:here -> b:there [dir=both, arrowtail = diamond] |
| 35 |
c -> b |
| 36 |
d [shape=triangle] |
| 37 |
d -> c [label=< |
| 38 |
<TABLE> |
| 39 |
<TR><TD BGCOLOR="red" WIDTH="10"> </TD> |
| 40 |
<TD>Edge labels<BR/>also</TD> |
| 41 |
<TD BGCOLOR="blue" WIDTH="10"> </TD> |
| 42 |
</TR> |
| 43 |
</TABLE>> |
| 44 |
] |
| 45 |
|
| 46 |
} |
| 47 |
|