Increasing distance between subgraphs

前端 未结 2 1570
南旧
南旧 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:55

    Clusters are derived objects; their layout depends solely on the nodes contained in them. Thus, to alter the cluster spacing, you need to alter the node spacing. Try setting the ranksep and nodesep attributes to larger values.

提交回复
热议问题