NodeGroup constructor
const
NodeGroup({})
Creates a node group.
The id must be unique across all groups on the canvas.
The name is the display label shown above the group.
The nodeIds defines which nodes belong to this group.
The color overrides the default group color.
The metadata stores custom serializable data.
Implementation
const NodeGroup({
required this.id,
required this.name,
required this.nodeIds,
this.color,
this.isSelected = false,
this.metadata,
});