是否可以在 Graphviz 上嵌套节点形状?
Is it possible to have nested node shapes on Graphviz?
是否可以在 Graphviz 上嵌套形状?
我想在正方形内镶嵌一颗钻石,如下图:
我找到了解决方案:
subgraph cluster_1 {
margin = 1;
label = "";
associative_entity [shape = diamond, height = 1];
}
如果您自己的解决方案不能很好地满足您的需求,Msquare 形状可能足够接近。
是否可以在 Graphviz 上嵌套形状?
我想在正方形内镶嵌一颗钻石,如下图:
我找到了解决方案:
subgraph cluster_1 {
margin = 1;
label = "";
associative_entity [shape = diamond, height = 1];
}
如果您自己的解决方案不能很好地满足您的需求,Msquare 形状可能足够接近。