Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


Overlapping groups

0 votes

Hi everyone,

I have a problem with the circular layout. I managed to get the structure I want but I dont know how I did it...

Everytime I try, it overlaps the groups and shifts around the objects

in Help by

1 Answer

0 votes

Circular layout does not support group nodes. I.e. the algorithm first removes all groups, then arranges the graph without groups, then reinserts the removed groups again. This is why you get the result in the second screenshot.

You can try to use circular layout's support for node types to get an arrangement close to the first screenshot, though:

  1. For each group node, assign the same fill color to each child node. Use a different color for each group node.
  2. In the circular layout settings on tab "General" set option "Layout Style" to "Single Cycle".
  3. In the circular layout settings on tab "Partition" set option "Node Types" to "Defined by Color".

Alternatively, you can use the same label text for all child nodes of a given group node and set "Node Types" to "Defined by Label".

While this approach might still result in overlapping groups (particularly if one group has many more child nodes than the other groups), it should reduce the likelihood of such overlaps.

by [yWorks] (160k points)
Legal Disclosure | Privacy Policy