⚙ Layout Engines and Options

PlantUML allows you to use several different layout engines. The following 4 apply to most diagrams.

See these 4 variants of a SAREF4CITY diagram for comparison (this is an RDF graph using the Smart Applications REFerence Ontology (SAREF) extension for Smart Cities). The source is example1-saref4city.puml and is generated from a Turtle file). The notes below are based on observing only these examples, so they are subjective.

Sequence diagrams have 2 engines:

ditaa (Ascii Art) diagrams have an optional engine:

A number of options affect aspects of the layout. We list them below with links to forum threads:

Achieving good layout with PlantUML is sometimes non-trivial. See PlantUML GraphViz Layout by Mark George at University of Otago for more advice.