ConnectionPathParameters constructor

const ConnectionPathParameters({
  1. required Offset start,
  2. required Offset end,
  3. required double curvature,
  4. Port? sourcePort,
  5. Port? targetPort,
  6. double cornerRadius = 4.0,
  7. double offset = 10.0,
  8. double backEdgeGap = 20.0,
  9. List<Offset> controlPoints = const [],
  10. Rect? sourceNodeBounds,
  11. Rect? targetNodeBounds,
  12. bool debugMode = false,
})

Implementation

const ConnectionPathParameters({
  required this.start,
  required this.end,
  required this.curvature,
  this.sourcePort,
  this.targetPort,
  this.cornerRadius = 4.0,
  this.offset = 10.0,
  this.backEdgeGap = 20.0,
  this.controlPoints = const [],
  this.sourceNodeBounds,
  this.targetNodeBounds,
  this.debugMode = false,
});