Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Consistent System Design

jasejase29 downloads

Tag a node as a database, queue or service, and your Obsidian diagrams draw it with the right colour and shape, all in your theme’s palette.

Add to Obsidian
Consistent System Design screenshot
Consistent System Design screenshot
Consistent System Design screenshot
Consistent System Design screenshot
Consistent System Design screenshot
Consistent System Design screenshot
Consistent System Design screenshot
Consistent System Design screenshot
  • Overview
  • Scorecard
  • Updates2

Draw system design diagrams in Obsidian with consistent, theme-aware components. Tag a node with its role and it gets that role's colour and shape. Colours, shapes and borders are all adjustable, and you can add roles of your own.

An architecture diagram: Users, CDN, API gateway and load balancer lead to an orders service, which connects to Redis, Postgres, S3, and a queue feeding an email worker and SendGrid. Each component has its own colour and shape.

That diagram is just this, with no styling of its own:

```mermaid
flowchart LR
U[Users]:::client --> CDN[CDN]:::cdn --> GW[API gateway]:::gateway --> LB[Load balancer]:::lb
LB --> API[Orders service]:::service
API --> R[Redis]:::cache
API --> PG[Postgres]:::db
API --> S3[S3 images]:::storage
API -->|order.created| Q[order-events]:::queue --> W[Email worker]:::worker --> SG[SendGrid]:::external
```

The plugin also stops Obsidian from turning wide left-to-right diagrams into top-down ones.

Requires Obsidian 1.15 or later, which draws diagrams with Pele.

Components

Class For Look Automatic shape
client users, browsers, mobile apps grey pill
cdn CDN, edge cyan cloud
gateway API gateway pink box
lb load balancer purple hexagon
service app or API service blue box
worker async worker, background job blue, dashed border box
db database green cylinder
cache Redis, Memcached red cylinder
queue queue or stream (Kafka, SQS) orange horizontal cylinder
storage object or blob storage yellow bucket
external third-party service grey, dashed border box
The eleven built-in roles, each drawn in its colour and automatic shape.

Colours come from your theme's --color-* variables, so they follow light and dark mode and theme changes.

You can also tag nodes with a class statement:

class PG,Orders db

Automatic shapes

A tagged node gets its role's shape only when you haven't given it one: PG[Postgres]:::db and PG:::db become cylinders. A shape you write yourself always wins, so PG{{Postgres}}:::db stays a hexagon.

To skip one diagram, add this line to it:

%% csd: no-shapes

To turn the feature off everywhere, use Settings → Consistent System Design → Automatic shapes.

How it works: before Pele draws a flowchart, the plugin appends a line such as PG@{ shape: cyl } for each tagged node without a shape. Your note is never changed.

Labels that contain brackets need quotes, as they always do in Mermaid syntax: PG["Postgres (main)"]:::db.

Customising

Settings page

Settings → Consistent System Design has everything, with no other plugin needed:

The plugin's settings page in Obsidian: sliders for tint strength, border strength, corner radius and border width, then a row per role with a colour swatch, a reset button, a shape dropdown and a toggle labelled Dashed.
  • Look: Soft (tinted fill, the default), Outline (coloured border and text) or Solid (filled with the role colour; text turns dark or light to suit each colour).
  • Sliders: tint strength, border strength, corner radius and border width.
  • Roles: for each built-in role, a colour, a shape and a dashed-border toggle. Reset a colour to follow your theme again.
  • Custom roles: add your own classes, such as search, auth or ml-model, each with a colour, shape and border. Use them like the built-in ones: Index[Search]:::search.
  • Reset styling puts the look, sliders and built-in roles back to their defaults and keeps your custom roles.

Colour changes apply straight away. Shape changes show the next time a note is opened. Settings are saved per vault.

The three looks:

The same small diagram drawn in the Soft, Outline and Solid looks.

Custom roles search (stacked documents), auth (dashed hexagon) and ml-model (stacked boxes):

An orders service connected to three custom roles: product search as stacked documents, an auth provider as a dashed hexagon and a ranking model as stacked boxes.

Style Settings

With the Style Settings plugin, Style Settings → Consistent System Design offers the look, the four sliders and a colour per built-in role, each with separate light and dark values. If the same thing is set in both places, the plugin's own settings page wins.

CSS snippet

Every value is a CSS variable you can override in your own snippet:

body {
  --csd-db-color: teal;        /* any role: --csd-<role>-color */
  --csd-worker-dash: none;     /* any role: --csd-<role>-dash, e.g. "5 3" */
  --csd-fill-scale: 1.5;       /* tint strength, 1 = default */
  --csd-stroke-scale: 1;       /* border strength, 1 = default */
  --csd-radius: 4px;
  --csd-border-width: 2px;
}

Custom roles have the same variables: --csd-search-color, --csd-search-dash.

Order of precedence: the plugin's settings page, then Style Settings, then your snippet, then the defaults.

Keep diagram direction

When a left-to-right diagram is wider than the note, Pele redraws it top-down. With this setting on (the default), the diagram keeps the direction you wrote and is scaled down to fit. Turn it off in Settings → Consistent System Design.

The same left-to-right diagram in a 600-pixel-wide note: on the left, Obsidian has redrawn it top-down; on the right, with the plugin, it stays left-to-right.

How it works: Obsidian draws each diagram by calling Pele's mount(). The plugin wraps that call and passes Pele's own autoDirection: false option. It restores Pele when the plugin is disabled. If a future Obsidian version draws diagrams differently, this setting stops having an effect, but your diagrams keep working.

Compatibility

  • Diagrams that don't use these classes look exactly as before.
  • Colours set inside a diagram with classDef or style win over the plugin's colours.
  • Works alongside other plugins that wrap Pele, such as Mermaid Flow Enhancer.

Privacy

The plugin makes no network requests and collects no data.

Installing manually

Download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/consistent-system-design/, then enable the plugin in Settings → Community plugins.

License

MIT

HealthExcellent
ReviewPassed
About
I kept drawing the same system design diagrams in Obsidian and restyling every box by hand. This plugin does that for you. Add a class to a node in a Mermaid flowchart and it takes on that role: PG[Postgres]:::db becomes a green cylinder, Q[order-events]:::queue becomes an orange pipe, S3[Images]:::storage becomes a bucket. There are eleven roles built in — client, CDN, gateway, load balancer, service, worker, database, cache, queue, storage and external — and you can add your own, like search or auth. You don’t write any styling, so every diagram in your vault looks consistent. Colours come from your theme, so diagrams match it in light and dark mode. If you want something different, the settings page lets you change each role’s colour, shape and border, and note tints, border, corners. It also fixes a small annoyance: when a left-to-right diagram is wider than your note, Obsidian redraws it top-down. The plugin keeps the direction you wrote and scales the diagram to fit instead.
GraphAppearanceVisualization
Details
Current version
1.0.1
Last updated
Last week
Created
Last week
Updates
2 releases
Downloads
29
Compatible with
Obsidian 1.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
jasejasejaskaran-sethy
jaskaransethy.com
GitHubjaskaran-sethy
  1. Community
  2. Plugins
  3. Graph
  4. Consistent System Design

Related plugins

Galaxy View

Cinematic 3D graph view of your vault — fly through your notes like NASA Eyes.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Supercharged Links

Add attributes to internal links with the values of target note's frontmatter attributes.