Imagine a branching logic with True and False branch laid out Top-Bottom structure. What I wish to do is always have True branch on the left side and False on the right.
Currently, I have a function that applies dagre layout and returns new position.
The node can be updated to have data such that they can have hand: TRUE | FALSE. But the caveat is, only the immediate children of branch will have the value and subsequent children of those nodes will not.
How do I make control the position and also, make sure a linear structure?
PS. Apologies, as I wasn't sure where to actually put this question on this repo.
Imagine a branching logic with True and False branch laid out Top-Bottom structure. What I wish to do is always have
True
branch on the left side andFalse
on the right. Currently, I have a function that applies dagre layout and returns new position.The node can be updated to have data such that they can have
hand: TRUE | FALSE
. But the caveat is, only the immediate children of branch will have the value and subsequent children of those nodes will not. How do I make control the position and also, make sure a linear structure?PS. Apologies, as I wasn't sure where to actually put this question on this repo.