Skip to content

Commit 33c7c0b

Browse files
authored
feat: Add Graphviz diagram rendering in plan mode (#266)
* feat: add Graphviz rendering for plan mode Support graphviz/dot/gv fenced blocks in the shared viewer and add a Graphviz sample diagram to PLAN_CONTENT for quick validation. * fix: use imperative wheel listener with passive:false in GraphvizBlock
1 parent 5b28def commit 33c7c0b

7 files changed

Lines changed: 572 additions & 1 deletion

File tree

bun.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/editor/App.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,26 @@ flowchart LR
7676
WS <--> WSS
7777
\`\`\`
7878
79+
### Service Dependencies (Graphviz)
80+
81+
\`\`\`graphviz
82+
digraph CollaborationStack {
83+
rankdir=LR;
84+
node [shape=box, style="rounded"];
85+
86+
Browser [label="Client Browser"];
87+
API [label="WebSocket API"];
88+
OT [label="OT Engine"];
89+
Redis [label="Presence Cache"];
90+
Postgres [label="PostgreSQL"];
91+
92+
Browser -> API;
93+
API -> OT;
94+
OT -> Redis;
95+
OT -> Postgres;
96+
}
97+
\`\`\`
98+
7999
## Phase 1: Infrastructure
80100
81101
### WebSocket Server

0 commit comments

Comments
 (0)