Skip to content

rune-langium / visual-editor/src / AttributeRowProps

Interface: AttributeRowProps

Defined in: packages/visual-editor/src/components/editors/AttributeRow.tsx:43

Properties

PropertyTypeDescriptionDefined in
allNodeIds?string[]All loaded graph node IDs for resolving type name to node ID.packages/visual-editor/src/components/editors/AttributeRow.tsx:67
availableTypesTypeOption[]Available type options for the TypeSelector.packages/visual-editor/src/components/editors/AttributeRow.tsx:49
committedNamestringLast-committed attribute name (for graph action diffing).packages/visual-editor/src/components/editors/AttributeRow.tsx:47
disabled?booleanWhether the form is read-only.packages/visual-editor/src/components/editors/AttributeRow.tsx:63
indexnumberIndex position of this member in the useFieldArray.packages/visual-editor/src/components/editors/AttributeRow.tsx:45
isOverride?booleanWhether this attribute overrides an inherited member.packages/visual-editor/src/components/editors/AttributeRow.tsx:69
onNavigateToNode?NavigateToNodeCallbackCallback to navigate to a type's graph node.packages/visual-editor/src/components/editors/AttributeRow.tsx:65
onRemove(index) => voidRemove this attribute by index.packages/visual-editor/src/components/editors/AttributeRow.tsx:59
onReorder(fromIndex, toIndex) => voidReorder (drag) callback; fromIndex → toIndex.packages/visual-editor/src/components/editors/AttributeRow.tsx:61
onRevert?() => voidCallback to revert an override (remove local, restore inherited).packages/visual-editor/src/components/editors/AttributeRow.tsx:71
onUpdate(index, oldName, newName, typeName, cardinality) => voidCommit attribute changes to the graph.packages/visual-editor/src/components/editors/AttributeRow.tsx:51

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.