Currently, the TreeViewLayout is applied to my diagram. My problem: it is only applied to nodes but not to the subgraph “boxes”. This means, that, while there is no linking, the nodes are stacked and the borders of their subgraphs are crossing each other. How can I manage the layout stacks the subgraphs too, so that they are side by side?
By default each Group has its own default DiagramLayout which will position unlocated nodes in rows.
Then the TreeLayout that is the Diagram.Layout will arrange all of the groups as if they were atomic nodes. TreeLayout does not overlap nodes unless you set some properties to unusual values.
Doesn’t the Grouping sample exhibit the basic layout behavior that you want?