如何在graphviz中布局子节点

时间:2014-04-21 06:30:37

标签: graphviz dot graph-layout

这是我的点代码: 我有3级节点。目前,在第3级(底部),我有一行子节点(橙色),但底层太长。我想有两行子节点。

请建议我如何获得两行子节点。

digraph {
overlap=false
rankdir=BT
root="node0"
node [fillcolor="#ffcc99",shape=box, fontname="Tahoma",style=filled]
edge [length=100, color=black, fontColor=black]
node0 [ fillcolor=cyan, label="TOPOLO"]
node1 [ fillcolor=yellow, label="MY Mobile-USSP-Topup"]
node1 -> node0
node2 [ label="MY PMP Router" ]
node2 -> node1
node3 [ label="MY USSP" ]
node3 -> node1
node4 [ label="MY PMP Airgate" ]
node4 -> node1
node5 [ label="MY LB P2C" ]
node5 -> node1
node6 [ label="MY WLS-PB" ]
node6 -> node1
node7 [ label="MY CPB" ]
node7 -> node1
node8 [ label="MY P2C/RTU" ]
node8 -> node1
node9 [ label="MY LB" ]
node9 -> node1
node10 [ label="MY CCP OCU WS" ]
node10 -> node1
node11 [ label="MY CCP OCU OCS" ]
node11 -> node1
}

0 个答案:

没有答案