How to read diff result: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<graphviz> | <graphviz> | ||
graph diff { | graph diff { | ||
node []; | rankdir=LR; // 从左到右布局 | ||
node [shape=box, style=solid]; | |||
" | // 定义节点 | ||
A [label="5"]; | |||
B [label="C"]; | |||
C [label="7"]; | |||
// 排列在一行 | |||
{ rank=same; A; B; C } | |||
" | // 边注释 | ||
" | edge [dir=none]; // 取消箭头方向 | ||
" | A -> B [label="变动前" fontsize=12 labeldistance=2]; | ||
B -> C [label="变动情" fontsize=12 labeldistance=2]; | |||
C -> A [label="变动后" fontsize=12 labeldistance=2]; | |||
} | |||
</graphviz> | </graphviz> |
Revision as of 16:59, 10 January 2025
Diagrams error (with dot command): Error: /tmp/diagrams_ina8efe4bf0009.dot: syntax error in line 15 near '->'