rune-langium / visual-editor/src / ChoiceFormProps
Interface: ChoiceFormProps
Defined in: packages/visual-editor/src/components/editors/ChoiceForm.tsx:67
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actions | ChoiceFormActions | Choice-specific editor form action callbacks. | packages/visual-editor/src/components/editors/ChoiceForm.tsx:75 |
allNodeIds? | string[] | All loaded graph node IDs for resolving type name to node ID. | packages/visual-editor/src/components/editors/ChoiceForm.tsx:79 |
availableTypes | TypeOption[] | Available type options for selectors. | packages/visual-editor/src/components/editors/ChoiceForm.tsx:73 |
data | AnyGraphNode | Data payload for the selected choice node (AnyGraphNode with $type='Choice'). | packages/visual-editor/src/components/editors/ChoiceForm.tsx:71 |
nodeId | string | Node ID of the Choice being edited. | packages/visual-editor/src/components/editors/ChoiceForm.tsx:69 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | packages/visual-editor/src/components/editors/ChoiceForm.tsx:77 |