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

Gantt Chart

Last updated:

Mermaid Studio provides language support for Gantt charts inside IntelliJ IDEA and other JetBrains IDEs. Gantt charts visualize project schedules, showing tasks, their durations, and dependencies over time, and are essential for project planning, tracking milestones, and communicating timelines to stakeholders.

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

Gantt chart syntax highlighting in Armada Dark theme

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

IDE feature supportSelect a feature for its description.
Editing
Code Intelligence
Validation
Refactoring

Inlay hints show each task’s calculated start date and duration inline, so you can read the resolved schedule without leaving the source.

gantt
title My Project
dateFormat YYYY-MM-DD
section Planning
Task 1 :t1, 2024-01-01, 7d
Task 2 :t2, after t1, 5d
section Execution
Milestone :milestone, m1, after t2, 0d
Task 3 :active, t3, after m1, 10d
Task 4 :crit, t4, after t3, 14d

Key elements:

  • title - Set the chart title
  • dateFormat - Specify date format (e.g., YYYY-MM-DD)
  • section - Group related tasks
  • :id, start, duration - Define task timing
  • after taskId - Create dependencies
  • crit, active, done - Task status markers

For complete syntax details, see the Mermaid Gantt documentation.