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 make edges avoid a sub-graph

0 votes
In my graph, I have a subgraph consisting of 2 groups containing nodes, with an edge between the groups.  There are no edges between any of these elements and anything in the main part of the graph.  Yet when I use Hierarchical Layout, it always puts this subgraph in the midst of the main graph, with main graph edges passing thru the subgraph.  More sensibly, the subgraph should be off to one side.  I *can* accomplish this with 2 passes, dragging the subgraph to the side between passes then turning on Use Drawing As Sketch, but this seems like behavior that should be easily specifiable.
in Help by

1 Answer

0 votes

Hierarchic layout is a very complex algorithm. Sometimes, an improvement that seems natural and obvious to a human being is very difficult or even outright impossible to formulate within the algorithm's paradigm. Sometimes, you need a specific configuration to achieve the desired result.

If you upload GraphML files that show the desired result and the actual result of the algorithm, we can take a look and tell you if there is a way to configure the algorithm to produce the desired arrangement.
Please see How to upload files to yEd Q&A? for information on uploading files here.

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