connectionPainter property
Shared connection painter instance for path caching and reuse.
Using a shared instance ensures paths are cached and reused for both painting and hit testing, improving performance.
Implementation
final ConnectionPainter connectionPainter;