GroupBehavior enum

How a group determines its member nodes and sizing behavior.

Inheritance
Available extensions

Values

bounds → const GroupBehavior

Spatial containment - nodes inside bounds move with group.

  • Membership: Computed from spatial bounds at drag time
  • Size: Manual (resizable)
  • Nodes can escape by dragging out of bounds
explicit → const GroupBehavior

Explicit membership - group auto-fits to contain member nodes.

  • Membership: Explicit node ID set via GroupAnnotation.nodeIds
  • Size: Auto-computed (bounding box of members + padding)
  • Nodes always visually inside (group resizes to fit)
  • Not resizable (size is computed)
parent → const GroupBehavior

Parent-child link - nodes linked but free to move independently.

  • Membership: Explicit node ID set via GroupAnnotation.nodeIds
  • Size: Manual (resizable)
  • Nodes move WITH group when group is dragged
  • Nodes can be dragged outside group bounds

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<GroupBehavior>
A constant List of the values in this enum, in order of their declaration.