Commit Graph

14 Commits

Author SHA1 Message Date
920f0ee9f3 feat: editor improvements and roadmap doc 2026-06-14 17:19:10 +08:00
a0749261bf feat: highlight upstream/downstream edges when node selected 2026-06-08 13:09:47 +08:00
e323f7973a fix: pass SmoothStepEdge component instead of string to default-edge-type 2026-06-08 12:49:42 +08:00
a008c927a5 feat: use smoothstep edge type for orthogonal lines 2026-06-08 12:24:42 +08:00
419bfab1f4 fix: remove animated edges 2026-06-08 12:22:41 +08:00
23f8fb97a6 feat: BFS-based left-to-right tree layout for scene graph 2026-06-08 12:21:05 +08:00
f439f7784e fix: add immediate:true to watcher so initial data renders on first mount 2026-06-08 12:14:57 +08:00
b48a760a1e fix: use local refs for nodes/edges, only useVueFlow for events and fitView 2026-06-08 12:10:18 +08:00
518c451a59 fix: remove redundant :nodes/:edges props from VueFlow, useVueFlow already provides them via inject 2026-06-08 12:05:54 +08:00
4d48463164 refactor: rewrite editor with immutable state, async-safe Vue Flow, and loading guard 2026-06-07 23:18:43 +08:00
45461b4ed7 fix: prevent Vue Flow edge render crash by clearing edges before structural node changes 2026-06-07 23:01:52 +08:00
a22dd8497e fix: move critical layout CSS to index.html, revert broken absolute positioning 2026-06-07 22:50:20 +08:00
469fc1ff33 fix: ensure Vue Flow parent container has explicit dimensions 2026-06-07 22:41:51 +08:00
3b4c6d7024 feat: P3 - visual scenario editor with Vue Flow
- editor/: stand-alone Vite multi-page app for visual scenario editing
- editor/components/SceneGraph.vue: Vue Flow graph with scene nodes, branch/default/QTE edges
- editor/components/NodeEditor.vue: right panel editing video/subtitle paths, choices, QTE params
- editor/components/PreviewPanel.vue: embedded video player previewing selected scene
- editor/composables/useGraphEditor.ts: bidirectional graph<->JSON sync
- editor/App.vue: toolbar (new scene, import/export JSON, load demo, start scene selector)
- @vue-flow/core|background|controls: graph visualization dependencies
- vite.config.ts: multi-page build (main + editor)
- ROADMAP: mark P3 as completed
2026-06-07 21:38:08 +08:00