Jointjs tree layout connect leaf nodes to a single node

71 views Asked by At

I am new to Jointjs and I need to create a graph structure like this,

sample

I tried to create a tree structure and when connect the leaf nodes to a single node it doesn't look very clean like the tree structure.

enter image description here

I have multiple levels of this kind of graphs and this is just a one level screenshot.

1

There are 1 answers

0
Danushka herath On

If anyone get into this question, the answer is you should use directed graph instead of tree layout.