I have two problems that I am struggling with on my LayeredDigraphLayout:
I’d like my top two levels displayed horizontally and my third level (the yellow nodes) as vertical list (as per the second screenshot). The default is currently direction:90 and too wide. (first screenshot)
A node that has links to two parents also appears on it’s own. I.e. it appears twice in my diagram (as highlighted in both screenshots.)
For (1) I would add a Group to those “children” that have the same “parent” and no other links. The Group.layout would do whatever you wanted, just on its members, the “children”.
I don’t understand the situation in (2). Did you intend to have duplicate nodes? If not, check what node data objects you added to the Model.nodeDataArray.