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

1. Changing position of edge labels when opening/closing group nodes

0 votes
Hi!

I have a graph with a lot of groups; many edges are departing from them, and quite often each edge has more than one label. The problem is that, when I open or close a group, the path of the edges change and the labels get displaced, sometimes very far from the corresponding edge.

Is there a way to tell yEd where the labels should be when the group is open or closed?

Could I also set the path of the edges, always depending on whether the group is open or closed?

A second question.

In my graph there are so many nodes and edges that it is difficult to understand what goes where. Could it be possible to write a simple program or give instructions so that, when I want to see all the edges of type A they get coloured, of type B, they get coloured and so on?

Thanks!

 

Jacopo
in Help by

2 Answers

0 votes
Hi,

I have a roughly similar problem (front, back positioning) with group nodes posted 4 h ago.

Perhaps I can give you a tip/workaround for your 2nd question:

You can use the Selection for highliting edges:

Tools->Select elements...->Edges->Select=Selected Nodes->Ok

Cheers

Frank
by
Hi Frank,

Thanks for your suggestion! I tried the way you said and also all the other options, but unluckily it's not enough :-(  What I would need would be to add to the dropdown list the selections which I specify. I need to highlight single edges scattered all over the graphs. I don't know whether this is possible.
Thanks anyway...

Cheers,

Jacopo
0 votes

Re:

Is there a way to tell yEd where the labels should be when the group is open or closed?

Unfortunately, no.

 

Re:

Could I also set the path of the edges, always depending on whether the group is open or closed?

Unfortunately, no.

 

Re:

Could it be possible to write a simple program or give instructions so that, when I want to see all the edges of type A they get coloured, of type B, they get coloured and so on?

You can try to use custom properties and the properties mapper to achieve this. E.g. create a custom edge property "Type" of type "Integer", specify for each edge its type, then create a mapping that maps each edge type to a specific line color.

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