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.


Group vertices by property

0 votes
I import a graphml file from R (igraph). Vertex properties are saves in the data tab and I use the "properties mapper" to change color, labels, ... of vertices.

One of the datafields contains a string that indicates to which group each vertex belongs. How can I use this to automatically group the vertices according to this Data field?
in Help by

1 Answer

0 votes
In the Excel import settings, specify the corresponding column in "Column of Group Node IDs" in section "Node List" on tab "Data.
by [yWorks] (147k points)
I'm not importing from Excel but a graphml or gml file from R. Can I use this feature without Excel?
Sorry, misread your post. Unfortunately, the feature you are looking for is only available in Excel import. The best you can do without Excel import is selecting your group property in yEd's structure view, select subsequent nodes with the same property value in the structure view, and use "Edit" -> "Group" or CTRL+ALT+G.
ok, thanks.
maybe this feature could be included in any future version..? Should be easy to integrate it in the "Properties Mapper", if it is already implemented...
Legal Disclosure | Privacy Policy