Graphviz: Difference between revisions
Jump to navigation
Jump to search
(→Order) |
(→Order) |
||
| Line 5: | Line 5: | ||
rankdir=TB; | rankdir=TB; | ||
A [label="收到下訂請求"]; | subgraph cluster_common { | ||
B [label="檢查價格是否變動"]; | A [label="收到下訂請求"]; | ||
C [label="檢查庫存是否充足"]; | B [label="檢查價格是否變動"]; | ||
D1 [label="進入 JTR 專用流程"]; | C [label="檢查庫存是否充足"]; | ||
D2 [label="進入 TKM 專用流程"]; | D1 [label="進入 JTR 專用流程"]; | ||
D3 [label="進入 BMG 專用流程"]; | D2 [label="進入 TKM 專用流程"]; | ||
E [label="下訂"]; | D3 [label="進入 BMG 專用流程"]; | ||
F [label="載入訂單"]; | } | ||
G [label="付款"]; | |||
subgraph cluster_jtr { | |||
E [label="下訂"]; | |||
F [label="載入訂單"]; | |||
G [label="付款"]; | |||
} | |||
H [label="完成訂單"]; | H [label="完成訂單"]; | ||
Revision as of 07:54, 18 March 2019
Beautify Edges
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 |