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.

Categories

How to do automatic grouping of nodes by attribute?

0 votes
I have a network plan showing hosts (nodes) and their connections. I want to group them automatically by an attribute that says to which subnet they belong.
How is that possible?

Next step: Some host belong to multiple subnets, so groups would overlap. Possible to do that automatically somehow?
in Help by
recategorized by

1 Answer

0 votes
Unfortunately, yEd's "Automatic Grouping" feature does not support grouping by properties.

If you do not have too many different property values, try using "Tools" -> "Select Elements" to select exactly those nodes with a given property value. Then use "Grouping" -> "Group" to create a common parent group for the selected nodes. Repeat "Select Elements" and "Group" for each distinct property value.

 

Unfortunately, a node may only belong to at most one group. The only way to give the impression of a node belonging to several groups is to assign the node to one of those groups and manually move the other group over or under said group. You will have to use (semi-) transparent fill colors for your groups for this approach to create the desired visual effect.
by [yWorks] (160k points)
Legal Disclosure | Privacy Policy
...