connectionSegment static method
Creates a spatial item for a connection segment.
Implementation
static ConnectionSegmentItem connectionSegment({
required String connectionId,
required int segmentIndex,
required Rect bounds,
}) => ConnectionSegmentItem(
connectionId: connectionId,
segmentIndex: segmentIndex,
bounds: bounds,
);