annotations/annotation library

Classes

Annotation
Base annotation class that can be placed in the node flow
AnnotationDragContext
Context provided to annotations during drag and node lifecycle operations.
GroupAnnotation
A group annotation that creates a region for containing nodes.
MarkerAnnotation
A small visual indicator for workflow elements (BPMN-style markers).
StickyAnnotation
A sticky note annotation that can be placed anywhere on the canvas.

Enums

AnnotationRenderLayer
The rendering layer for an annotation.
GroupBehavior
How a group determines its member nodes and sizing behavior.
MarkerType
Predefined marker types for BPMN-style workflow annotations.
ResizeHandlePosition
Enum representing the 8 resize handle positions on a group.

Extensions

ResizeHandlePositionCursor on ResizeHandlePosition
Extension to get the cursor for a resize handle position.

Typedefs

NodeLookup = Node? Function(String nodeId)
Callback type for looking up nodes by ID.