DirectGraph class

Inheritance

Constructors

DirectGraph({required List<NodeInput> list, required double cellWidth, required double cellPadding, Key? key, GestureTapCallback? onCanvasTap, GestureEdgeTapDownCallback? onEdgeTapDown, PaintingStyle? edgePaintStyleForTouch, GestureEdgeTapUpCallback? onEdgeTapUp, GestureEdgeLongPressStartCallback? onEdgeLongPressStart, GestureEdgeLongPressEndCallback? onEdgeLongPressEnd, GestureEdgeLongPressMoveUpdateCallback? onEdgeLongPressMoveUpdate, GestureEdgeForcePressStartCallback? onEdgeForcePressStart, GestureEdgeForcePressEndCallback? onEdgeForcePressEnd, GestureEdgeForcePressPeakCallback? onEdgeForcePressPeak, GestureEdgeForcePressUpdateCallback? onEdgeForcePressUpdate, GestureEdgeDragStartCallback? onEdgePanStart, GestureEdgeDragUpdateCallback? onEdgePanUpdate, GestureEdgeDragDownCallback? onEdgePanDown, GestureEdgeTapDownCallback? onEdgeSecondaryTapDown, GestureEdgeTapUpCallback? onEdgeSecondaryTapUp, EdgePaintBuilder? paintBuilder, GestureNodeTapDownCallback? onNodeTapDown, GestureNodeTapUpCallback? onNodeTapUp, GestureNodeLongPressStartCallback? onNodeLongPressStart, GestureNodeLongPressEndCallback? onNodeLongPressEnd, GestureNodeLongPressMoveUpdateCallback? onNodeLongPressMoveUpdate, GestureNodeForcePressStartCallback? onNodeForcePressStart, GestureNodeForcePressEndCallback? onNodeForcePressEnd, GestureNodeForcePressPeakCallback? onNodeForcePressPeak, GestureNodeForcePressUpdateCallback? onNodeForcePressUpdate, GestureNodeDragStartCallback? onNodePanStart, GestureNodeDragUpdateCallback? onNodePanUpdate, GestureNodeDragDownCallback? onNodePanDown, GestureNodeTapDownCallback? onNodeSecondaryTapDown, GestureNodeTapUpCallback? onNodeSecondaryTapUp, NodeCellBuilder? builder, double contactEdgesDistance = 5.0, MatrixOrientation orientation = MatrixOrientation.Horizontal, double tipAngle = math.pi * 0.1, double tipLength = 10.0, double maxScale = 3.5, double minScale = 0.25, EdgePathBuilder? pathBuilder})
const

Properties

builder NodeCellBuilder?
final
cellPadding double
final
cellWidth double
final
contactEdgesDistance double
final
edgePaintStyleForTouch PaintingStyle?
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
list List<NodeInput>
final
maxScale double
final
minScale double
final
onCanvasTap GestureTapCallback?
final
onEdgeForcePressEnd GestureEdgeForcePressEndCallback?
final
onEdgeForcePressPeak GestureEdgeForcePressPeakCallback?
final
onEdgeForcePressStart GestureEdgeForcePressStartCallback?
final
onEdgeForcePressUpdate GestureEdgeForcePressUpdateCallback?
final
onEdgeLongPressEnd GestureEdgeLongPressEndCallback?
final
onEdgeLongPressMoveUpdate GestureEdgeLongPressMoveUpdateCallback?
final
onEdgeLongPressStart GestureEdgeLongPressStartCallback?
final
onEdgePanDown GestureEdgeDragDownCallback?
final
onEdgePanStart GestureEdgeDragStartCallback?
final
onEdgePanUpdate GestureEdgeDragUpdateCallback?
final
onEdgeSecondaryTapDown GestureEdgeTapDownCallback?
final
onEdgeSecondaryTapUp GestureEdgeTapUpCallback?
final
onEdgeTapDown GestureEdgeTapDownCallback?
final
onEdgeTapUp GestureEdgeTapUpCallback?
final
onNodeForcePressEnd GestureNodeForcePressEndCallback?
final
onNodeForcePressPeak GestureNodeForcePressPeakCallback?
final
onNodeForcePressStart GestureNodeForcePressStartCallback?
final
onNodeForcePressUpdate GestureNodeForcePressUpdateCallback?
final
onNodeLongPressEnd GestureNodeLongPressEndCallback?
final
onNodeLongPressMoveUpdate GestureNodeLongPressMoveUpdateCallback?
final
onNodeLongPressStart GestureNodeLongPressStartCallback?
final
onNodePanDown GestureNodeDragDownCallback?
final
onNodePanStart GestureNodeDragStartCallback?
final
onNodePanUpdate GestureNodeDragUpdateCallback?
final
onNodeSecondaryTapDown GestureNodeTapDownCallback?
final
onNodeSecondaryTapUp GestureNodeTapUpCallback?
final
onNodeTapDown GestureNodeTapDownCallback?
final
onNodeTapUp GestureNodeTapUpCallback?
final
orientation MatrixOrientation
final
paintBuilder EdgePaintBuilder?
final
pathBuilder EdgePathBuilder?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tipAngle double
final
tipLength double
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _DirectGraphState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited