createPath method
Creates the geometric path for drawing this connection This is the main responsibility of each connection style
Implementation
@override
Path createPath(ConnectionPathParameters params) {
final path = Path();
path.moveTo(params.start.dx, params.start.dy);
_createStraightPath(
path,
params.start,
params.end,
params.offset,
params.sourcePort,
params.targetPort,
);
return path;
}