我希望网络图中的所有节点都排成一行,而不是如图所示倾斜。zoomcharts 的哪个属性用于禁用倾斜?感谢帮助。
问问题
21 次
1 回答
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
于 2017-12-04T09:40:08.373 回答