GraphViz fixedsize=shape 不工作
GraphViz fixedsize=shape not working
节点 属性 fixedsize=shape
似乎无法处理我的 GraphViz 图。例如,这个:
digraph Automaton {
rankdir=LR
node [shape=circle fixedsize=shape label=""]
0;
1 [shape=doublecircle];
2 [shape=doublecircle label="HELLO_12345"];
0 -> { 2 } [label="98 (b)"];
0 -> { 1 } [label="97 (a)"];
1 -> { 1 } [label="97 (a)"];
}
...产生这个:
我希望标记为 HELLO_12345 的节点绘制为与其他节点相同的大小。我尝试将 fixedsize=shape
添加到该节点的声明中,但无济于事。
fixedsize=shape
是什么时候添加的? GraphViz 的最新版本似乎是 2.38,但是 Ubuntu 14.04 仍然是 2.36 版本。
原来 GraphViz 有一个 change log。谁想到的?是的,fixedsize=shape
是在 2.36.0 版本之后和 2.38.0 版本之前添加的。我不知道包含此更改的中间版本叫什么(日志没有说明)但这可能解释了为什么它在 Ubuntu 14.04.
上不起作用
节点 属性 fixedsize=shape
似乎无法处理我的 GraphViz 图。例如,这个:
digraph Automaton {
rankdir=LR
node [shape=circle fixedsize=shape label=""]
0;
1 [shape=doublecircle];
2 [shape=doublecircle label="HELLO_12345"];
0 -> { 2 } [label="98 (b)"];
0 -> { 1 } [label="97 (a)"];
1 -> { 1 } [label="97 (a)"];
}
...产生这个:
我希望标记为 HELLO_12345 的节点绘制为与其他节点相同的大小。我尝试将 fixedsize=shape
添加到该节点的声明中,但无济于事。
fixedsize=shape
是什么时候添加的? GraphViz 的最新版本似乎是 2.38,但是 Ubuntu 14.04 仍然是 2.36 版本。
原来 GraphViz 有一个 change log。谁想到的?是的,fixedsize=shape
是在 2.36.0 版本之后和 2.38.0 版本之前添加的。我不知道包含此更改的中间版本叫什么(日志没有说明)但这可能解释了为什么它在 Ubuntu 14.04.