FlowchartToJson
Converts a FigJam flowchart to json
Install / Use
/learn @maximilianMairinger/FlowchartToJsonREADME

Select the root element, and run the plugin. It will generate a JSON representation of the graph interpretation the flowchart. There are two types of entities: nodes and edges, which model the relation of the flowchart elements. A Node is a, in this case a purple, box with text inside, and an edge is a line connecting the two nodes. All sorts of properties are stored on a node or edge, such as the text, the color and its connections.
Usage
Install it on the figma community and try it out here. Select a root node and run the plugin. It will copy the JSON to your clipboard (if possible).
Parsing
Note that the resulting JSON may be cyclic, by the nature of the flowchart. These kinds of JSONs can be parsed with the library circ-json!
API
interface Element {
text: string;
id: string;
type: "NODE" | "EDGE",
}
interface Edge extends Element {
from: Node,
to?: Node,
fromSide?: 'NONE' | 'AUTO' | 'TOP' | 'LEFT' | 'BOTTOM' | 'RIGHT',
toSide?: 'NONE' | 'AUTO' | 'TOP' | 'LEFT' | 'BOTTOM' | 'RIGHT',
color?: {r: number, g: number, b: number},
edgeType: 'ELBOWED' | 'STRAIGHT',
directional: "UNI" | "BI"
}
interface Node extends Element {
edges: Edge[],
color?: {r: number, g: number, b: number}
}
It will always start with a node.
Related Skills
gh-issues
347.0kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
oracle
347.0kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
taskflow-inbox-triage
347.0kname: taskflow-inbox-triage description: Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some w
taskflow
347.0kname: taskflow description: Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layer
