cluster location in graphviz python

半世苍凉 提交于 2019-12-12 04:47:57

问题


Is there a way to make this graphviz output

looks like

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


回答1:


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.



来源:https://stackoverflow.com/questions/43353586/cluster-location-in-graphviz-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!