Is it possible to write inside of a diamond?

+1 vote
asked Oct 18, 2018 in Question / help by chiarld (480 points)
Pretty simple question.

I am trying to model this: https://imgur.com/a/YW20ZGa

I currently have this: https://imgur.com/a/p6PRn6S

Is it possible to write "Provides" inside of my diamond?

Take note I am using a beta version provided to me in a previous question.

Thanks a lot in advance!

Dan.
commented Oct 18, 2018 by albert (3,620 points)
Can you please add the image of the required situation (not a link) to this post and also thry what you currently have in the plantuml webserver (http://www.plantuml.com/plantuml/uml) and post the resulting link or the used code.
commented Oct 18, 2018 by chiarld (480 points)
Hello Albert, I tried to add the images at first but they weren't previewing properly, which is why I used imgur. Can you not see the images?

Also, running the code in the plantuml webserver won't work because, as mentioned, I am using the beta version. In any case, here's my code:

Entity Supplier
{

}
Entity Part
{

}
Entity Project
{

}

diamond Provides

Supplier -- Provides
Project -- Provides
Part -- Provides
commented Oct 18, 2018 by albert (3,620 points)
I can see the imgur image but I don't like external images( one has to click on them, so one does not directly see what the problem is, and also the question of persistence of the image exists).

Regarding the code, you chose the right way as is doesn't work in the webserver.
commented Oct 18, 2018 by chiarld (480 points)
Oh, I see.  I apologize for the inconvenience, Albert.

In any case, is there any way I can write inside the diamond structure?

1 Answer

+1 vote
answered Oct 21, 2018 by KSK
Is this an ER diagram that you are trying to create with Plantuml or Component?
commented Oct 21, 2018 by chiarld (480 points)
Hello!

Yes, it is!
...