ConnectionPathParameters class
Parameters for connection path creation
Constructors
-
ConnectionPathParameters({required Offset start, required Offset end, required double curvature, Port? sourcePort, Port? targetPort, double cornerRadius = 4.0, double offset = 10.0, double backEdgeGap = 20.0, List<
Offset> controlPoints = const [], Rect? sourceNodeBounds, Rect? targetNodeBounds, bool debugMode = false}) -
const
Properties
- backEdgeGap → double
-
Gap from node bounds for loopback/back-edge routing.
final
-
controlPoints
→ List<
Offset> -
Control points for editable path connections
final
- cornerRadius → double
-
Corner radius for rounded connections
final
- curvature → double
-
Curvature parameter for bezier curves (0.0 to 1.0)
final
- debugMode → bool
-
Whether debug mode is enabled for detailed logging.
final
- end → Offset
-
End point of the connection
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- offset → double
-
Offset distance from ports (port extension)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceNodeBounds → Rect?
-
Bounds of the source node for node-aware routing.
final
- sourceOffset → double
-
Get the offset for the source end.
Returns 0 if there's no source port (mouse position in input port drag).
no setter
- sourcePort → Port?
-
Source port information (optional)
final
- sourcePosition → PortPosition
-
Get source port position.
no setter
- start → Offset
-
Start point of the connection
final
- targetNodeBounds → Rect?
-
Bounds of the target node for node-aware routing.
final
- targetOffset → double
-
Get the offset for the target end.
Returns 0 if there's no target port (mouse position in output port drag).
no setter
- targetPort → Port?
-
Target port information (optional)
final
- targetPosition → PortPosition
-
Get target port position.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override