Skip to content
Lower pricing Individual licenses are now $49/year for Studio, $25 for Core — See pricing →

Treemap Diagram

Last updated:

Mermaid Studio provides language support for Treemap diagrams inside IntelliJ IDEA and other JetBrains IDEs. Treemap diagrams display hierarchical data as nested rectangles, where the size and arrangement of each rectangle represents its position in the hierarchy, which makes them a natural fit for visualizing organizational structures, file systems, or any nested categorical data.

Syntax highlighting integrates directly with IntelliJ’s color scheme system, so diagram colors always match your editor theme.

Treemap diagram syntax highlighting in Armada Dark theme

The summary below shows the IDE support Mermaid Studio ships for treemap diagrams, grouped by capability.

IDE feature supportSelect a feature for its description.
Editing
Code Intelligence
Validation
Refactoring
Navigation & Docs
treemap
Company
Engineering
Frontend Team
Backend Team
DevOps
Product
Design
Research
Sales
North America
Europe

Key elements:

  • Hierarchy is defined by indentation
  • Each line represents a node in the tree
  • Child nodes are indented under their parent
  • No special syntax required for connections - the structure is implicit

For complete syntax details, see the Mermaid Treemap documentation.