graphviz python中的群集位置 [英] cluster location in graphviz python

查看:115
本文介绍了graphviz python中的群集位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使此graphviz输出

Is there a way to make this graphviz output

看起来像

我正在使用子图,将4个聚类与树图合并

I am using subgraphs, to merge the 4 clusters with the tree graph

推荐答案

Google搜索找到了答案:

Googling found an answer: http://www.graphviz.org/content/subgraph-different-rankdir
Essentially, subgraphs can't have their own rankdir, but you can get the effect you want by placing invisible links between the top-level objects, causing them to be laid out top-to-bottom.

这篇关于graphviz python中的群集位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆