Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel2
typeflat
separatorpipe

Description

Excerpt

The PlantUML macro creates general graphs

.

 using the PlantUML language. This language is extremely versatile and powerful, but you can start with a really simple example as shown below, and then gradually improve your knowledge and create more advanced diagrams easily.

Note

PlantUML works with Graphviz versions higher than 2.42.


PlantUML resources

Refer to the PlantUML website to learn more about the language itself and access other resources like guides and examples.



Parameters

Include Page
GVIZ:WIP: Common parameters
GVIZ:WIP: Common parameters

Examples

These are some very basic examples of what you can achieve easily. For more advanced layouts and formatting, please refer to the PlantUML resources.

Macro Call

Macro Output

{plantuml}
@startuml
!$ab = "foo1"
!$cd = "foo2"
!$ef = $ab + $cd

Alice -> Bob : $ab
Alice -> Bob : $cd
Alice -> Bob : $ef
@enduml
{plantuml}