Graphviz: Difference between revisions
Jump to navigation
Jump to search
| Line 173: | Line 173: | ||
A [label="browser https://www.google.com"]; | A [label="browser https://www.google.com"]; | ||
B [label="sudo socat ... udp4-recvfrom:53 ..."]; | B [label="sudo socat ... udp4-recvfrom:53 ..."]; | ||
} | } | ||
subgraph cluster_office { | subgraph cluster_office { | ||
label="Office"; | label="Office"; | ||
| Line 195: | Line 192: | ||
// DNS Routing | // DNS Routing | ||
A -> B [xlabel="1. udp",color="#ff0000" | A -> B [xlabel="1. udp",color="#ff0000"]; | ||
B -> C [xlabel="2. ssh",color="#ff0000"]; | B -> C [xlabel="2. ssh",color="#ff0000"]; | ||
C -> D [xlabel="3. tcp",color="#ff0000"]; | C -> D [xlabel="3. tcp",color="#ff0000"]; | ||
| Line 212: | Line 209: | ||
G -> F [xlabel="13. socks",color="#0000ff"]; | G -> F [xlabel="13. socks",color="#0000ff"]; | ||
F -> A [xlabel="14. ssh",color="#0000ff"]; | F -> A [xlabel="14. ssh",color="#0000ff"]; | ||
</quickgv> | </quickgv> | ||
Revision as of 05:36, 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
| label | xlabel | headlabel | taillabel |
|---|---|---|---|
Difference between label and xlabel 1
Attribute label works not good as expected while using in subgraph.
| label | xlabel | label in subgraph | xlabel in subgraph |
|---|---|---|---|
Difference between label and xlabel 2 (constraint=false)
- The label is gone.
- Space of xlabel is not enough.
| label | |
|---|---|
| xlabel | |
| xlabel with minlen=4 |
|
| label in subgraph |
|
| xlabel in subgraph |
|
| xlabel in subgraph with minlen=4 |