CanvasNode
data class CanvasNode(val id: String, val title: String, val subtitle: String? = null, val position: DpOffset = DpOffset.Zero, val icon: ImageVector? = null, val tone: NodeTone = NodeTone.PRIMARY, val status: StepStatus? = null, val size: DpSize? = null, val data: Any? = null)(source)
A node on a WorkflowCanvas (AI Elements <Node>); position is its top-left in canvas dp. size overrides the canvas' node size for this node; data carries your own payload for a custom nodeContent.