Graphviz: Difference between revisions
Jump to navigation
Jump to search
| Line 67: | Line 67: | ||
! label || xlabel | ! label || xlabel | ||
|- | |- | ||
| Graph | |||
| | | | ||
<quickgv name="G2" theme="warm"> | <quickgv name="G2" theme="warm"> | ||
| Line 82: | Line 83: | ||
C -> B [xlabel="3"]; | C -> B [xlabel="3"]; | ||
B -> A [xlabel="4"]; | B -> A [xlabel="4"]; | ||
</quickgv> | |||
|- | |||
| Subgraph | |||
| | |||
<quickgv name="G4" theme="warm"> | |||
rankdir=TB; | |||
subgraph cluster_subg { | |||
A -> B [label="1"]; | |||
B -> C [label="2"]; | |||
C -> B [label="3"]; | |||
B -> A [label="4"]; | |||
} | |||
</quickgv> | |||
| | |||
<quickgv name="G5" theme="warm"> | |||
rankdir=TB; | |||
subgraph cluster_subg { | |||
A -> B [xlabel="1"]; | |||
B -> C [xlabel="2"]; | |||
C -> B [xlabel="3"]; | |||
B -> A [xlabel="4"]; | |||
} | |||
</quickgv> | </quickgv> | ||
|} | |} | ||
Revision as of 03:03, 26 February 2019
Beautify Edges
Edge Attributes
| label | arrow | other |
|---|---|---|
|
arrowhead arrowsize arrowtail color colorscheme comment constraint decorate dir fillcolor fontcolor fontname fontsize id len lhead ltail minlen nojustify penwidth pos samehead sametail showboxes target tooltip weight
Edge label
All kinds of labels
Difference between label and xlabel
| label | xlabel | |
|---|---|---|
| Graph | ||
| Subgraph |