plantuml / backlog

Contains all issues for plantuml that are not currently working-in-progress
0 stars 0 forks source link

Triangle? #4

Open BBX999 opened 2 years ago

BBX999 commented 2 years ago

Might it be possible to draw a triangle with text in it, similar to the current rectangle syntax? Or a circle for that matter (I currently achieve a circle with a very high value for the rectangle round corners using a stereotype). Thanks!

BBX999 commented 2 years ago

Would this be hard to implement? If I wanted to work on a pull request, could someone familiar with the code base point me in the direction of which files I might need to look at / modify? Is there a resource anywhere giving a high level overview of the organization of the codebase? @The-Lum @arnaudroques

Thanks!

The-Lum commented 2 years ago

Hello @BBX999, and all,


Is there a resource anywhere giving a high level overview of the organization of the codebase?

No, it seems not... But you can take inspiration from the latest shapes creations:


If I wanted to work on a pull request, could someone familiar with the code base point me in the direction of which files I might need to look at / modify?

Then here is an attempts of list of change for new shape creation:

  1. Adding your new shape name in:

  2. Create your new shape with a new file USymbol<ShapeName>.java on this directory:

  3. Adding your shape name on param & style:

  4. Adding your shape name on language:

  5. Test...

If that can help, Regards.

vspiliop commented 1 year ago

That would be very useful for me as well!