rune-langium / visual-editor/src / AttributeRowProps
Interface: AttributeRowProps
Defined in: packages/visual-editor/src/components/editors/AttributeRow.tsx:43
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
allNodeIds? | string[] | All loaded graph node IDs for resolving type name to node ID. | packages/visual-editor/src/components/editors/AttributeRow.tsx:67 |
availableTypes | TypeOption[] | Available type options for the TypeSelector. | packages/visual-editor/src/components/editors/AttributeRow.tsx:49 |
committedName | string | Last-committed attribute name (for graph action diffing). | packages/visual-editor/src/components/editors/AttributeRow.tsx:47 |
disabled? | boolean | Whether the form is read-only. | packages/visual-editor/src/components/editors/AttributeRow.tsx:63 |
index | number | Index position of this member in the useFieldArray. | packages/visual-editor/src/components/editors/AttributeRow.tsx:45 |
isOverride? | boolean | Whether this attribute overrides an inherited member. | packages/visual-editor/src/components/editors/AttributeRow.tsx:69 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | packages/visual-editor/src/components/editors/AttributeRow.tsx:65 |
onRemove | (index) => void | Remove this attribute by index. | packages/visual-editor/src/components/editors/AttributeRow.tsx:59 |
onReorder | (fromIndex, toIndex) => void | Reorder (drag) callback; fromIndex → toIndex. | packages/visual-editor/src/components/editors/AttributeRow.tsx:61 |
onRevert? | () => void | Callback to revert an override (remove local, restore inherited). | packages/visual-editor/src/components/editors/AttributeRow.tsx:71 |
onUpdate | (index, oldName, newName, typeName, cardinality) => void | Commit attribute changes to the graph. | packages/visual-editor/src/components/editors/AttributeRow.tsx:51 |