Skip to content

PlantUML with Graphviz

PlantUML is a component that allows to quickly write:

  • Sequence diagram
  • Usecase diagram
  • Class diagram
  • Activity diagram
  • Component diagram
  • State diagram
  • Object diagram
  • Deployment diagram
  • Timing diagram

Install PlantUML

Command Line

Download from: http://plantuml.com

Run:

java -jar plantuml.jar -charset UTF-8 -gui

IntelliJ IDEA plugin

Install plugin: PlantUML integration

Install Graphviz

In order to support complex diagrams Graphviz should be installed on the sytstem.

Where to get:

Download and unzip.

Set windows environment variable:

  • GRAPHVIZ_DOT = C:\...\graphviz-2.38\bin\dot.exe