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

Venn Diagram

Last updated:

Mermaid Studio provides language support for Venn diagrams inside IntelliJ IDEA and other JetBrains IDEs. Venn diagrams show logical relationships between sets using overlapping circles, which makes them useful for comparing groups, illustrating shared characteristics, and visualizing set operations like unions and intersections.

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

Venn diagram syntax highlighting in Armada Dark theme

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

IDE feature supportSelect a feature for its description.
Editing
Code Intelligence
Validation
Navigation & Docs
venn-beta
title Software Skills
set Frontend["Frontend Dev"]:20
text React
text CSS["Styling"]
set Backend["Backend Dev"]:15
text Node["Node.js"]
set DevOps:10
union Frontend,Backend["Fullstack"]:5
union Backend,DevOps["SRE"]:3
union Frontend,Backend,DevOps:1
style Frontend fill:#ff6b6b
style Backend fill:#4ecdc4

Key elements:

  • Start with venn-beta
  • Define sets with set <id>["label"]:size
  • Define unions (intersections) with union <id1>,<id2>["label"]:size
  • Place text items inside sets or unions with indented text statements: text <value>["label"]
  • Style sets or unions with style <target> fill:#hex, stroke:#hex
  • Unions must reference at least 2 existing sets

For complete syntax details, see the Mermaid Venn documentation.