Skip to main content

Interface: AuthoredRelationChange

Defined in: src/editor/authoringState.ts:123

Represents changed relation in the graph authoring state.

See​

AuthoredRelation

Properties​

PropertyModifierTypeDescription

before

readonly

LinkModel

Original relation data before the change.

data

readonly

LinkModel

Modified relation data after the change.

Note: only property changes are supported by the graph authoring, so if relation identity changes it should be deleted and re-created as separate relation.

type

readonly

"relationChange"

Authoring event type.