如何在graphviz中设置子图宽度?
how to set subgraph width in 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,
子图元素如何按垂直(上下)排列?
您可以简单地在这些节点之间添加一条不可见的边,例如:
type -> encoding [style = invis]
我正在用这个画图:
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]