Leanderson André


Class Diagram with PlantUML

Here’s a minimalistic way to create class diagrams using PlantUML with a plain, distraction-free style.

We use the !theme plain directive and tweak the appearance with skinparam and hide commands to keep it clean and focused on the structure. This is especially useful for documentation, teaching, or quickly prototyping designs.

!theme plain
skinparam classAttributeIconSize 0
hide circle
class User{
  -name:String
  -username:String
  -active:boolean
  +isActive():boolean
}

Explanation: #

!theme plain: Removes colors and styles to emphasize the content.

skinparam classAttributeIconSize 0: Hides icons next to attributes/methods.

hide circle: Removes small circles (like composition indicators) for a cleaner look.

This setup is great if you’re aiming for simplicity in presentations or printed materials.