0

In the pic that all node not in a line.

I want all the nodes in a line within the netcharts,not incline as showed in pic. Which property of zoomcharts is used for disable incline? Thanks for help.

Henry
  • 3
  • 5

1 Answers1

0

Make all nodes in a line

I found that using direction to make all nodes in a line.Just make direction consistent with 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

Henry
  • 3
  • 5