Graphviz: Difference between revisions
Jump to navigation
Jump to search
(→OTP) |
(→OTP) |
||
| Line 12: | Line 12: | ||
E [label="隨機給對方一組數字, 請他在 Line 裡面輸入"]; | E [label="隨機給對方一組數字, 請他在 Line 裡面輸入"]; | ||
E1 [label="對方要求打去指定的電話號碼"]; | E1 [label="對方要求打去指定的電話號碼"]; | ||
F1 [label="輸入正確"]; | |||
F2 [label="輸入錯誤"]; | |||
F3 [label="輸入錯誤3次"]; | |||
G [label="身分核對完成"]; | |||
A -> B -> C -> D -> E -> F; | A -> B -> C -> D -> E -> F; | ||
Revision as of 07:48, 24 May 2021
Beautify Edges
OTP
Record shape
https://graphviz.org/doc/info/shapes.html#record
Order
GDS
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 |