FlowScript Diagrams

approved

by kilrkrow

Render ```flow code blocks as inline SVG flowcharts using FlowScript. - This plugin has not been manually reviewed by Obsidian staff.

122 downloadsUpdated 2mo agoMIT

FlowScript Diagrams for Obsidian

Render fenced ```flow code blocks as inline SVG flowcharts inside any Obsidian note, powered by FlowScript.

Usage

Create a fenced code block with the language set to flow:

```flow
#start User Visits Page
  Enter Email
  #decision Valid?
    -> yes: #end Welcome
    -> no: Show Error
```

The block renders as an inline SVG diagram in both Live Preview and Reading view.

Syntax

FlowScript uses an indentation-driven DSL. A few key constructs:

SyntaxMeaning
#start LabelStart node (rounded rect)
#end LabelEnd node (rounded rect)
#decision LabelDecision diamond
Plain textProcess rectangle
#subprocess, #io, #data, #noteAdditional shapes
-> yes: TargetNamed branch
~> LabelDashed / retry edge
#group NameLogical grouping
#lane NameSwimlane column
@direction LRFlow direction (TB, BT, LR, RL)
@theme clean-darkTheme override per diagram

Full syntax reference: kilrkrow/flowscript

Settings

SettingDefaultDescription
ThemeClean (light)Clean (light) or Clean (dark)
Transparent backgroundOffRemoves the diagram background so it blends with your vault theme

Installation

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Copy them to .obsidian/plugins/flowscript-diagrams/ in your vault
  3. Enable FlowScript Diagrams in Settings → Community Plugins

BRAT (beta)

Add kilrkrow/flowscript-for-obsidian in BRAT.

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.