rune-langium / visual-editor/src
visual-editor/src
ReactFlow-based graph and form components for exploring and editing Rune DSL models in the browser.
Remarks
Use RuneTypeGraph for an interactive type graph, the exported panel and editor components for custom shells, and the store/layout helpers when you need to embed the editor in a larger application.
Other
astToGraph
Renames and re-exports astToModel
graphToModels
Renames and re-exports modelsToAst
Visual Editor
| Name | Description |
|---|---|
| EditorState | Snapshot of visual editor state tracked by the zustand store. |
| GraphFilters | Visibility filter state for the type graph. |
| RuneTypeGraphCallbacks | Event callbacks for the RuneTypeGraph component. |
| RuneTypeGraphConfig | Configuration props for the RuneTypeGraph component. |
| RuneTypeGraphProps | Props for the RuneTypeGraph React component. |
| RuneTypeGraphRef | Imperative ref handle for RuneTypeGraph. |
| EditorStore | Combined zustand store type (state + actions). |
| createEditorStore | Create an isolated zustand editor store instance. |