rune-langium / visual-editor/src / EditorFormPanelProps
Interface: EditorFormPanelProps
Defined in: packages/visual-editor/src/components/panels/EditorFormPanel.tsx:94
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actions | AllEditorFormActions | All editor form actions. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:104 |
allNodes? | TypeGraphNode[] | All graph nodes (for inherited member resolution). | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:106 |
availableTypes | TypeOption[] | Available type options for type selectors. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:102 |
isReadOnly? | boolean | Whether the node is read-only (from external/locked source). | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:100 |
nodeData | AnyGraphNode | null | The selected node's data, or null if nothing is selected. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:96 |
nodeId | string | null | Node ID of the selected node. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:98 |
onClose? | () => void | Called when the panel requests to close (e.g., Escape key). | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:113 |
onNavigateToNode? | (nodeId) => void | Called when a type reference is clicked to navigate to that type's definition. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:115 |
renderExpressionEditor? | (props) => ReactNode | Optional render-prop for a rich expression editor in FunctionForm. When omitted, FunctionForm renders a plain <Textarea> fallback. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:111 |