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.


Automatical arrangement after node size change

0 votes
I want to make the nodes fit the labels, which I know how to do if I click FIT NODE TO LABEL, and then have the graphical editor automatically rearrange the whole graph so the nodes do not overlap. (When I type data into the nodes, the label becomes bigger than the node.Therefore, this edited node will lie over the one(s) beside it.) Do you know if it has a button just for this purpose? Currently, I just rearrange the entire graph manually, that is, click and drag the nodes so that they are next to, not over, one another, and it takes FOREVER!
in Help by
edited by

1 Answer

0 votes
There is no dedicated command in yEd for this task since, amongst other things, there are very different expectations about how the positions of the nearby nodes should be changed and, in general, layout algorithms which change only parts of a diagram and keep others unchanged are at least as complicated to develop as regular algorithms.

You may want to have a look at hierarchic and organic layout since they can take the current node positions into account. If there are connections in your graph yet, component layout may be an option, too.

You're welcome to add a feature request for this. If you choose to do so, please include in your post a small sketch which shows how you expect the diagram to change if a node's size is increased.
by [yWorks] (26.8k points)
Legal Disclosure | Privacy Policy