In the pic that all node not in a line.
我希望网络图中一行中的所有节点,而不是像图中所示的那样倾斜。 zoomcharts的哪个属性用于禁用倾斜? 谢谢你的帮助。
答案 0 :(得分:0)
我发现使用direction
制作一行中的所有节点。只需使方向符合from ... to...
"links":[
{"from":"a", "to":"b","style":{"toDecoration":"arrow","direction":"R"}},
{"from":"b", "to":"c", "style":{"toDecoration":"arrow", "direction":"R"}},
{"from":"a", "to":"a_child1","style":{"toDecoration":"arrow","direction":"L"}},
{"from":"c", "to":"c_child1","style":{"toDecoration":"arrow","direction":"R"}}
]
a_child1< - a - > b - > c - > c_child1