我有一个带有圆形节点的图表。如何影响倒圆角的半径?或者我是否需要接受固定的 graphviz 设置?确切的默认设置是什么?
digraph G {
node [shape=rectangle style=rounded]
}
Run Code Online (Sandbox Code Playgroud)
提前谢谢了!
小智 6
对不起,伙计,我有同样的pb。查看源代码...它硬编码为 12 !
shape.c#18 => #define RBCONST 12
没有办法改变它。唯一的方法是修改生成的 svg:
<polygon fill="#8a2be2" stroke="#8a2be2" points="194,-344 140,-344 140,-308 194,-308 194,-344"></polygon>
Run Code Online (Sandbox Code Playgroud)
<rect x="140" y="-344" rx="5" ry="5" width="54" height="36" style="fill: rgb(181, 157, 224);stroke: rgb(138, 43, 226);stroke-width: 1px;opacity: 1;"></rect>
Run Code Online (Sandbox Code Playgroud)