Skip to content

rune-langium / visual-editor/src / AttributeRowProps

Interface: AttributeRowProps

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

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:54
availableTypesTypeOption[]Available type options for the TypeSelector.packages/visual-editor/src/components/editors/AttributeRow.tsx:36
committedNamestringLast-committed attribute name (for graph action diffing).packages/visual-editor/src/components/editors/AttributeRow.tsx:34
disabled?booleanWhether the form is read-only.packages/visual-editor/src/components/editors/AttributeRow.tsx:50
indexnumberIndex position of this member in the useFieldArray.packages/visual-editor/src/components/editors/AttributeRow.tsx:32
isOverride?booleanWhether this attribute overrides an inherited member.packages/visual-editor/src/components/editors/AttributeRow.tsx:56
onNavigateToNode?NavigateToNodeCallbackCallback to navigate to a type's graph node.packages/visual-editor/src/components/editors/AttributeRow.tsx:52
onRemove(index) => voidRemove this attribute by index.packages/visual-editor/src/components/editors/AttributeRow.tsx:46
onReorder(fromIndex, toIndex) => voidReorder (drag) callback; fromIndex → toIndex.packages/visual-editor/src/components/editors/AttributeRow.tsx:48
onRevert?() => voidCallback to revert an override (remove local, restore inherited).packages/visual-editor/src/components/editors/AttributeRow.tsx:58
onUpdate(index, oldName, newName, typeName, cardinality) => voidCommit attribute changes to the graph.packages/visual-editor/src/components/editors/AttributeRow.tsx:38

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