如何在graphviz中设置子图宽度?
我正在使用以下工具绘制图形:如何在graphviz中设置子图宽度?,graphviz,Graphviz,我正在使用以下工具绘制图形: digraph G { subgraph cluster_redisObject{ style="rounded"; bgcolor="#028d35"; type [label="数据类型(Type)",style=rounded,shape=box]; encoding [label="编码类型(Encoding)",style=rounded,shape=box] } } 对象是herizon 如何通过垂直线(向上
digraph G {
subgraph cluster_redisObject{
style="rounded";
bgcolor="#028d35";
type [label="数据类型(Type)",style=rounded,shape=box];
encoding [label="编码类型(Encoding)",style=rounded,shape=box]
}
}
对象是herizon
如何通过垂直线(向上和向下)排列子图元素?您只需在这些节点之间添加一条不可见的边,例如:
type -> encoding [style = invis]
你知道如何控制两个元素的垂直距离吗@marapet@Dolphin你可以尝试使用