FlowScript Diagrams

by kilrkrow
5
4
3
2
1
New Plugin

Description

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

Reviews

No reviews yet.

Stats

stars
5
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

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:

Syntax Meaning
#start Label Start node (rounded rect)
#end Label End node (rounded rect)
#decision Label Decision diamond
Plain text Process rectangle
#subprocess, #io, #data, #note Additional shapes
-> yes: Target Named branch
~> Label Dashed / retry edge
#group Name Logical grouping
#lane Name Swimlane column
@direction LR Flow direction (TB, BT, LR, RL)
@theme clean-dark Theme override per diagram

Full syntax reference: kilrkrow/flowscript

Settings

Setting Default Description
Theme Clean (light) Clean (light) or Clean (dark)
Transparent background Off Removes 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