ConnectionsCanvas<T> constructor

const ConnectionsCanvas<T>({
  1. required NodeFlowController<T> store,
  2. required NodeFlowTheme theme,
  3. required ConnectionPainter connectionPainter,
  4. Animation<double>? animation,
})

Creates a connections canvas painter.

Parameters:

  • store: The node flow controller containing connection data
  • theme: The visual theme for rendering
  • connectionPainter: Shared painter instance for path caching
  • animation: Optional animation for animated connections

Implementation

const ConnectionsCanvas({
  required this.store,
  required this.theme,
  required this.connectionPainter,
  this.animation,
}) : super(repaint: animation);