Analyse PlantUML diagram syntax

Inspect PlantUML declarations, entities, relationships, and directives.

freeworks offlinenothing uploaded
ToolPlantUML Analyzer
Input
Output

How it works

PlantUML text is parsed between @start and @end directives into entities, relationships, and diagram-specific commands; a backend layout engine then generates the requested diagram format. The same entity names can be reused to connect declarations.

  • Directive blocks identify diagram boundaries and the diagram family.

Worked example

Analyze Sequence Diagram
Analyze a PlantUML sequence diagram
Input
											@startuml
Alice -> Bob: Hello
Bob --> Alice: Hi back
@enduml
										
Output
												PlantUML Diagram Analysis
========================

Detected type(s): Sequence Diagram, Activity Diagram
Line count: 4
Has @startuml: true
Has @enduml: true

Note: PlantUML rendering requires a PlantUML server.
Use https://www.plantuml.com/plantuml/ for online rendering.

--- Source ---
@startuml
Alice -> Bob: Hello
Bob --> Alice: Hi back
@enduml
											

When to use this

Software design documents, source-controlled sequence flows, and CI diagram checks inspect PlantUML.

Edge cases

  • An unclosed @start block prevents a complete parse.
  • A colon in a message can be syntax rather than label text.
  • Layout directives alter placement without changing graph relationships.

References