GraphiteRoot constructor
GraphiteRoot({
- required Matrix mtx,
- required Size defaultCellSize,
- required EdgeInsets cellPadding,
- required double maxScale,
- required double minScale,
- required MatrixOrientation orientation,
- required double contactEdgesDistance,
- required Clip clipBehavior,
- OverlayBuilder? overlayBuilder,
- EdgeLabels? edgeLabels,
- GestureEdgeTapDownCallback? onEdgeTapDown,
- GestureEdgeTapUpCallback? onEdgeTapUp,
- GestureBackgroundTapCallback? onCanvasTap,
- GestureEdgeLongPressStartCallback? onEdgeLongPressStart,
- GestureEdgeLongPressEndCallback? onEdgeLongPressEnd,
- GestureEdgeLongPressMoveUpdateCallback? onEdgeLongPressMoveUpdate,
- GestureEdgeForcePressStartCallback? onEdgeForcePressStart,
- GestureEdgeForcePressEndCallback? onEdgeForcePressEnd,
- GestureEdgeForcePressPeakCallback? onEdgeForcePressPeak,
- GestureEdgeForcePressUpdateCallback? onEdgeForcePressUpdate,
- GestureEdgeTapDownCallback? onEdgeSecondaryTapDown,
- GestureEdgeTapUpCallback? onEdgeSecondaryTapUp,
- EdgeStyleBuilder? styleBuilder,
- GestureNodeTapDownCallback? onNodeTapDown,
- GestureNodeTapUpCallback? onNodeTapUp,
- GestureNodeLongPressStartCallback? onNodeLongPressStart,
- GestureNodeLongPressEndCallback? onNodeLongPressEnd,
- GestureNodeLongPressMoveUpdateCallback? onNodeLongPressMoveUpdate,
- GestureNodeForcePressStartCallback? onNodeForcePressStart,
- GestureNodeForcePressEndCallback? onNodeForcePressEnd,
- GestureNodeForcePressPeakCallback? onNodeForcePressPeak,
- GestureNodeForcePressUpdateCallback? onNodeForcePressUpdate,
- GestureNodePanStartCallback? onNodePanStart,
- GestureNodePanUpdateCallback? onNodePanUpdate,
- GestureNodePanDownCallback? onNodePanDown,
- GestureNodeTapDownCallback? onNodeSecondaryTapDown,
- GestureNodeTapUpCallback? onNodeSecondaryTapUp,
- NodeCellBuilder? builder,
- EdgePathBuilder? pathBuilder,
Implementation
GraphiteRoot({
required this.mtx,
required this.defaultCellSize,
required this.cellPadding,
required this.maxScale,
required this.minScale,
required this.orientation,
required this.contactEdgesDistance,
required this.clipBehavior,
this.overlayBuilder,
this.edgeLabels,
this.onEdgeTapDown,
this.onEdgeTapUp,
this.onCanvasTap,
this.onEdgeLongPressStart,
this.onEdgeLongPressEnd,
this.onEdgeLongPressMoveUpdate,
this.onEdgeForcePressStart,
this.onEdgeForcePressEnd,
this.onEdgeForcePressPeak,
this.onEdgeForcePressUpdate,
this.onEdgeSecondaryTapDown,
this.onEdgeSecondaryTapUp,
this.styleBuilder,
this.onNodeTapDown,
this.onNodeTapUp,
this.onNodeLongPressStart,
this.onNodeLongPressEnd,
this.onNodeLongPressMoveUpdate,
this.onNodeForcePressStart,
this.onNodeForcePressEnd,
this.onNodeForcePressPeak,
this.onNodeForcePressUpdate,
this.onNodePanStart,
this.onNodePanUpdate,
this.onNodePanDown,
this.onNodeSecondaryTapDown,
this.onNodeSecondaryTapUp,
this.builder,
this.pathBuilder,
});