ER symbols allowed by PlantUML

0 votes
asked Feb 19 in Question / help by emiliogq (120 points)

Hi all,

I looked at the ER diagrams that PlantUML can generate, but this kind of symbols are not familiar to me when I'm referring to ER diagrams.

Is it possible to have the classical symbols like the following image?

ER Diagram Symbols

Thanks in advance

1 Answer

+1 vote
answered Feb 24 by chris (1,740 points)
selected Feb 24 by emiliogq
Best answer

Not quite matching, but you can use sprites to embed any image you want, so if this doesn't fit the bill I would look into the sprites functionality.

commented Feb 24 by emiliogq (120 points)

I think I could muddle through with this approach, but could you detail a bit more how to implement it, please?

Thanks in advance,
commented Feb 24 by chris (1,740 points)
Click on the image, change the URL to /uml/ instead of /png/ and it will show you the source code using the online server :)
commented Feb 24 by emiliogq (120 points)
Good, many thanks!

Is it possible to underline the string inside the storage component to identify the attribute as a primary key?
commented Feb 24 by chris (1,740 points)
Please accept this answer and open a new question for that :) Makes it easier for others to find when they have the same questions
commented Feb 24 by The-Lu (36,620 points)

Just to answer rapidly,

For string formatting you can see the Creole page:

With that we can see your expected result: