设置 sfdp 铺设的最小长度,GraphViz
Set minimal length for sfdp laying, GraphViz
是否可以通过sftp铺设来改变节点之间的长度?标签太小了。
digraph aNet {
graph [layout=sfdp, overlap=prism, overlap_scaling=-20];
_0 -> _1 [ label = "set"; ]
_1 -> _2 [ label = "get"; ]
_2 -> _3 [ label = "move"; ]
_0 -> _2 [ label = "put"; ]
}
添加sep
属性:
digraph aNet {
graph [layout=sfdp, overlap=prism, overlap_scaling=-20, sep="+25,25"];
_0 -> _1 [ label = "set"; ]
_1 -> _2 [ label = "get"; ]
_2 -> _3 [ label = "move"; ]
_0 -> _2 [ label = "put"; ]
}
是否可以通过sftp铺设来改变节点之间的长度?标签太小了。
digraph aNet {
graph [layout=sfdp, overlap=prism, overlap_scaling=-20];
_0 -> _1 [ label = "set"; ]
_1 -> _2 [ label = "get"; ]
_2 -> _3 [ label = "move"; ]
_0 -> _2 [ label = "put"; ]
}
添加sep
属性:
digraph aNet {
graph [layout=sfdp, overlap=prism, overlap_scaling=-20, sep="+25,25"];
_0 -> _1 [ label = "set"; ]
_1 -> _2 [ label = "get"; ]
_2 -> _3 [ label = "move"; ]
_0 -> _2 [ label = "put"; ]
}