UML with IntelliJ IDEA and PlantUML Plugin

UML with IntelliJ IDEA and PlantUML Plugin

Takahiro Iwasa
(岩佐 孝浩)
Takahiro Iwasa (岩佐 孝浩)
1 min read
IntelliJ IDEA PlantUML

IntelliJ IDEA with PlantUML plugin can generate UML diagrams from code. Because PlantUML diagrams are made of text data, it becomes simple to manage differences with version control systems like Git.

Prerequisites

SoftwareVersion
IntelliJ IDEA2016.3.4
PlantUML Integration2.5.0
Graphviz2.3.8

Coding

After creating a *.puml file, you can begin coding on it and immediately view the rendered diagram.

Here is a short example. For PlantUML DSL, please visit the official website.

@startuml

interface Person
abstract Employee

interface Person {
    + string getName();
}

class Employee {
    - string name;
    --
    + string getName();
    + string getEmployeeId();
}

Person <|-- Employee

@enduml
Takahiro Iwasa
(岩佐 孝浩)

Takahiro Iwasa (岩佐 孝浩)

Software Developer at KAKEHASHI Inc.
Involved in the design, development, and operation of the prescription data collection platform