* This might be a "wanted features" if it isn't already part of the program. Also, the list code is formatted oddly, but I can't get it to look right here.
I see the following links with some information, but it isn't clear to me how I can import a SVG and use that as the entity's shape (box?). I do not want to just place an image within the box, rather I want to define a new type of box.
When I export to SVG and open it in inkscape it appears to me that the boxes are vector boxes that just normally get rendered to png, so I am guessing this is possible...
I was also wondering if it is possible to explicitly define the starting place of a box in absolute or percent relative to the generated image? Likewise, is it possible to explicitly place text starting at an X, Y within a box?
Related Links:
- https://forum.plantuml.net/11354/applying-style-to-multiline-node-in-mindmap-diagram
- https://plantuml.com/svg
- https://forum.plantuml.net/4080/please-provide-commands-import-png-and-svg-images-from-files
- https://plantuml.com/stdlib
Short list of 3 related questions:
- How does one import a SVG and use that to define a new entity type?
- Example: Instead of a box, I want a star shape and have an SVG made in inkscape for this. Example, to illustrate what I am wondering but this is NOT a thought out scripting method:
@startuml
@skinparam newboxtypeshape MyType ./box.svg
start
MyType "Some Group" {
:Hello world;
}
:This is defined on
several **lines**;
stop
@enduml
- How can I tell plantuml to place a box in a specific location in the final rendering?
- Is it possible to specify with a box where the text will be placed or aligned? If a custom SVG is used, that might be necessary, if for example the text has to be right below or the image has a region where the label would go.
I drew this up just now to illustrate what I am trying to find out :

Thanks!