AnnotationDependencyType enum

Defines how an annotation responds to changes in dependent nodes.

Different dependency types enable different behaviors for annotations that track or relate to nodes in the workflow.

Inheritance
Available extensions

Values

follow → const AnnotationDependencyType

Annotation follows node movements.

The annotation automatically updates its position to track the center of its dependent nodes. Useful for badges, labels, or indicators that should stay with specific nodes.

surround → const AnnotationDependencyType

Annotation surrounds/encompasses nodes.

The annotation's bounds automatically expand to contain all dependent nodes. This is used by GroupAnnotation to create visual boundaries around node sets.

linked → const AnnotationDependencyType

Annotation is linked but doesn't move automatically.

The annotation maintains a relationship with nodes but doesn't update its position. Useful for connections or references that should persist but remain stationary.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AnnotationDependencyType>
A constant List of the values in this enum, in order of their declaration.