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.


How to create a self referencing relationship in an ER Diagram?

0 votes
I would like to know if there's a way to create a self referencing relationship in an ER Diagram within yEd. Edges seem to automatically connect to the same spots.
in Help by

1 Answer

0 votes

Are you looking to create something like this?

Sample GraphML.

When creating the edge, press and hold SHIFT before you press the mouse on the start node and also press and hold SHIFT when you release the mouse on the target node. This will result in the edge starting/ending at the current mouse position instead of the center of the node. Additionally, create at least two bends for the edge.
As an alternative to holding down SHIFT, you can also create an edge as usual, (i.e. one that starts and ends in the center of its source and target nodes), add a couple of bends and adjust the edge's Source Port X, Source Port Y, Target Port X, and Target Port Y properties.

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