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

Incorrect functionality of context views when multiple nodes are selected?

0 votes

When I select multiple nodes that have edges in between, those edges do not display in the context views. See attached picture for simple example with 2 nodes and 1 edge.

If I select just 1 node, Neighborhood correctly shows the other node and link.

I expect that adding nodes to selection will add nodes / edges to context. Current behavior is different: Adding second node results in removing the edge.

in Help by

1 Answer

0 votes

The Neighborhood context view displays edges connecting selected nodes to nodes that are not selected. In your example, there are no edges that satisfy the aforementioned criterion (because all nodes are selected). This is the intended behavior.

by [yWorks] (161k points)
Thank you for explanation.
I suggest you reconsider this behavior or consider another functionality with different Neighborhood definition.
I would appreciate if definition of Neighborhood was invariant with respect to GUI actions and was fully dependant on the actual graph.
In my example, B is in the Neighborhood of A if I select only A. If I also select B, it is not in the Neighborhood of A any more. To me, this is confusing.
In other words, it would be great to have Neighborhood defined as here: http://en.wikipedia.org/wiki/Neighbourhood_(graph_theory)
Legal Disclosure | Privacy Policy
...