SVG icon library how to

0 votes
asked Oct 12, 2022 in Question / help by Todd Musheno (2,680 points)

I want to create an icon library using svg images (a bunch of images)...

  • How do I go about doing this
  • How would others use my library in there diagrams
I am assuming the creator of the library would host files.
I am wanting svg images as they allow color, and would want to publish these external to the plantuml group, but for public use.
I am guessing those using the library would have to import a file I post somewhere, but not sure.
commented Nov 1, 2022 by Todd Musheno (2,680 points)
So if I had something like the following it would work as I would expect...

@startuml

!include http://bogusurl.biz/iconlibray.puml

Alice->Bob : hello <$icon1> there

@enduml

...I am assuming you can just post a bunch of sprites in a plantuml file on the web, and just include them?

If this is the case could we add documentation to this effect to:

https://plantuml.com/svg

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...