nodes library

Node system - Node, GroupNode, CommentNode, and related classes.

Classes

CircleShape
A circular node shape.
CommentNode<T>
A comment/sticky note node that can be placed anywhere on the canvas.
DiamondShape
A diamond (rhombus) node shape.
GroupNode<T>
A group node that creates a region for containing other nodes.
HexagonShape
A hexagonal node shape.
Node<T>
Represents a single node in the flow graph.
NodeData
Interface that defines the contract for node data objects.
NodeDragContext<T>
Context provided to nodes during drag and lifecycle operations.
NodeShape
Defines the visual shape and appearance of a node in the flow editor.
NodeTheme
Theme configuration for node appearance and styling.
NodeWidget<T>
A widget that builds the visual content of a node.
PortAnchor
Defines a port anchor point on a node shape.

Enums

GroupBehavior
How a group determines its member nodes and sizing behavior.
HexagonOrientation
Defines the orientation of a hexagon shape.
NodeRenderLayer
The rendering layer for a node.

Extensions

NodePortGeometry on Node<T>
Extension providing port geometry calculations for nodes.

Constants

kGroupNodeDefaultPadding → const EdgeInsets
Default padding for group nodes.

Typedefs

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