rune-langium / visual-editor/src / FunctionFormProps
Interface: FunctionFormProps
Defined in: packages/visual-editor/src/components/editors/FunctionForm.tsx:95
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actions | FuncFormActions | Function-specific editor form action callbacks. | packages/visual-editor/src/components/editors/FunctionForm.tsx:103 |
allNodeIds? | string[] | All loaded graph node IDs for resolving type name to node ID. | packages/visual-editor/src/components/editors/FunctionForm.tsx:118 |
availableTypes | TypeOption[] | Available type options for selectors. | packages/visual-editor/src/components/editors/FunctionForm.tsx:101 |
data | AnyGraphNode | Data payload for the selected function node (AnyGraphNode with $type='RosettaFunction'). | packages/visual-editor/src/components/editors/FunctionForm.tsx:99 |
inheritedGroups? | InheritedGroup[] | Inherited member groups from super-function (if any). | packages/visual-editor/src/components/editors/FunctionForm.tsx:105 |
nodeId | string | Node ID of the Function being edited. | packages/visual-editor/src/components/editors/FunctionForm.tsx:97 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | packages/visual-editor/src/components/editors/FunctionForm.tsx:116 |
renderExpressionEditor? | (props) => ReactNode | Optional render-prop for a rich expression editor (e.g. CodeMirror). When omitted, a plain <Textarea> is rendered as fallback. Per FR-010 / R10, this slot is preserved verbatim through the z2f migration: the bespoke expression-builder UX is owned by the studio app and remains a controlled override. | packages/visual-editor/src/components/editors/FunctionForm.tsx:114 |