To install PlantUML for those platforms that do not provide its native packages see the following project plantuml-install
@Crashedmind wrote this guide as part of his own “Journey to Documentation as Code” using PlantUML as the main tools for proposing, analysing, documenting, maintaining software systems based on working with thousands of engineers across the globe.
allow_mixing
can be added to allow mixing UML concepts that are not supposed to be mixed. In the diagram below I am mixing components with classes.
@startuml hide footbox
java -jar plantuml.jar -encodesprite <gray level 4|8|16> <image>.png > <image>.sprite
!include file.sprite
to use sprite in diagram you can reference it using syntax: <$
sprite_name,scale=
scale factor,color=
color>
Example
!include aibuilder.png.puml
rectangle "AI Model\n <$aibuilder,scale=.4,color=purple>" as AI #line.dashed
Option are:
skinparam linetype polyline
skinparam linetype ortho
Options are:
left to right direction
top to bottom direction
Hidden
text | Direction |
---|---|
--[hidden]> |
hidden |
-[hidden]d-> |
hidden with direction e.g. down |