PlantUML has a built-in icon set we can use in our diagram definitions.
The icon set is open source icon set OpenIconic.
We refer to an icon using the syntax <&iconName>
.We can use an icon everywhere where we can use text in our diagrams.
In the following example we use different icons in different places:
Continue reading →
PlantUML has some features that come from the underlying software to create diagrams.
Graphviz is used by PlantUML and we can use Graphviz features in our PlantUML diagrams.
For example we can align multi-line text of labels to be either center (default), left or right aligned using a Graphviz feature.
When we want to text to be center aligned we simply use the new-line character \n
.
If we want to have our text left aligned we use \l
instead of \n
.
And to right align the text we use \r
.
In the following example we have three labels that are center, left and right aligned:
Continue reading →