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.


Attributes over entity

0 votes

Hello, I'm trying to use yEd to draw an Entity Relationship Diagram for uni. So far, I have something that looks like this:

Now I need to add attributes to the entities, but my uni says the attributes absolutly must look like this: (attributes currently added by manual drawing in Gimp)


Can yEd add attributes that look like that? and how can I do this

in Help by

1 Answer

0 votes
While this is not directly supported, you can fake it nevertheless. Use a circle shape that you resize small enough (hold down Shift while resizing), connect it by an edge without any arrow heads, and enter your attribute's name as the label text. Move the label to the side of the circle.
(To duplicate, you can: select a circle, press Ctrl-D.)
(To create the underlined label text, use HTML markup in the label text.)

Drawback of this solution: the faked attributes don't play well with automatic layout.
by [yWorks] (23.7k points)
Legal Disclosure | Privacy Policy