Versions Compared

Key

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

Table of Contents
maxLevel3
minLevel2
typeflat
separatorpipe

Description

Excerpt

The Graphviz Macro PlantUML macro creates general graphs - either directed or undirected.

 using the Graphviz 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

resources Include PageGraphViz ResourcesGraphViz Resources

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
Common parameters
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 Graphviz PlantUML resources.

Macro Call

Macro Output

{graphviz}
digraph { 
  Aplantuml}
@startuml
!$ab = "foo1"
!$cd = "foo2"
!$ef = $ab + $cd

Alice -> BBob A: $ab
Alice -> CBob : $cd
Alice C -> DBob } {graphviz: $ef
@enduml
{plantuml}

Image RemovedImage Added