Increasing distance between subgraphs

前端 未结 2 1528
南旧
南旧 2021-02-08 18:54

I have the following code:

digraph g {
graph [rankdir=\"LR\" ,compound=\"true\" ];
    subgraph cluster0 {
        graph [label=\"Ready\\n\\nAllowed Purchaser Op         


        
2条回答
  •  逝去的感伤
    2021-02-08 19:52

    I think what you are looking for (as Emden points out) are indeed the nodesep and ranksep attributes.

    graph [nodesep=6, ranksep=4];
    

    The result would be:

    enter image description here

提交回复
热议问题