rune-langium / visual-editor/src / FunctionFormProps
Interface: FunctionFormProps
Defined in: packages/visual-editor/src/components/editors/FunctionForm.tsx:146
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actions | FuncFormActions | Function-specific editor form action callbacks. | packages/visual-editor/src/components/editors/FunctionForm.tsx:154 |
allNodeIds? | string[] | All loaded graph node IDs for resolving type name to node ID. | packages/visual-editor/src/components/editors/FunctionForm.tsx:165 |
availableTypes | TypeOption[] | Available type options for selectors. | packages/visual-editor/src/components/editors/FunctionForm.tsx:152 |
data | AnyGraphNode | Data payload for the selected function node (AnyGraphNode with $type='RosettaFunction'). | packages/visual-editor/src/components/editors/FunctionForm.tsx:150 |
inheritedGroups? | InheritedGroup[] | Inherited member groups from super-function (if any). | packages/visual-editor/src/components/editors/FunctionForm.tsx:156 |
nodeId | string | Node ID of the Function being edited. | packages/visual-editor/src/components/editors/FunctionForm.tsx:148 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | packages/visual-editor/src/components/editors/FunctionForm.tsx:163 |
renderExpressionEditor? | (props) => ReactNode | Optional render-prop for a rich expression editor (e.g. CodeMirror). When omitted, a plain <Textarea> is rendered as fallback. | packages/visual-editor/src/components/editors/FunctionForm.tsx:161 |