Align the diagram with the top line

91 Views Asked by At

is it possible to create something like this using dagrejs / elkjs or something else? I need to align the diagram with the top line (node 1 -> node 2 -> node 6). All other branches should be positioned below. If we add a new step to the second branch, we need to continue the line for the main branch and the third branch. All lines should converge at node 6.

enter image description here

I tried reactflow + dagrejs / elkjs, but got the next result

enter image description here

0

There are 0 best solutions below