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

Groups: select and minimize Groups with only incoming edges.

0 votes
Hi,

 oh

Well that' the question ¯\_(ツ)_/¯

edit: My graph has 2300 nodes and 2191 edges, and it gets pretty confusing when all (end-) groups are open.
in Help by

1 Answer

0 votes

I am not sure I completely understand the question, but let me try to answer anyways.

First, select all nodes with no outgoing edges.
To do that, use "Tools" -> "Select Elements".

  1. On tab "General", make sure "Clear Selection First" and only "Clear Selection First" is enabled.
  2. Go to tab "Nodes" and enable "Use These Criteria".
    Set option "Select" to "Outdegree" and specify "Minimal Degree" and "Maximal Degree" to be "0".
  3. Click "Ok".

This will select all types of nodes with no outgoing edges.

The second step is to select to parent group nodes of the currently selected nodes.
Again, use "Tools" -> "Select Elements" for this purpose.

  1. On tab tab "General", enable "Act On Current Selection Only" and "Clear Selection First" both.
  2. On  tab "Nodes", keep "Use These Criteria" enabled.
    Set option "Select" to "Parents of Selected Nodes".
  3. Click "Ok".

Now, the parent group nodes of all nodes with no outgoing edges should be selected.

Finally, close all the selected group nodes with "Grouping" -> "Close Group".

by [yWorks] (161k points)
My question actually only referred to the first part of your answer.
Nevertheless, thank you very much for your quick and comprehensive answer!
Unfortunately, I cannot vote.

Regards
Legal Disclosure | Privacy Policy
...