CollisionOptions class
Configuration for collision detection layout.
Constructors
Properties
- anchorPad → double
-
Padding for anchor connections.
final
- avoidCollisions → bool
-
Whether to enable collision avoidance.
final
- connectorColor → Color
-
Color for connector lines.
final
- connectorStrokeWidth → double
-
Stroke width for connector lines.
final
- defaultSize → Size
-
Default size for unmeasured nodes.
final
- drawConnectors → bool
-
Whether to draw connector lines from labels to anchors.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxRadius → double
-
Maximum radius for label placement.
final
- pad → double
-
Padding around each node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- step → double
-
Step size for the collision grid in logical pixels.
final
Methods
-
copyWith(
{double? step, double? maxRadius, double? pad, double? anchorPad, bool? avoidCollisions, bool? drawConnectors, Color? connectorColor, double? connectorStrokeWidth, Size? defaultSize}) → CollisionOptions -
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