graphite library

Constants

pointResolversMap → const Map<Direction, List<Direction>>

Functions

applyMargin(AnchorMargin margin, List<double> point, double distance, MatrixOrientation orientation) List<double>
getCellCenter(double cellSize, double padding, double cellX, double cellY, double distance, AnchorMargin margin, MatrixOrientation orientation) List<double>
getCellEntry(Direction direction, double cellSize, double padding, double cellX, double cellY, double distance, AnchorMargin margin, MatrixOrientation orientation) List<double>
getEdgeMargins(MatrixNode node, MatrixNode income) List<AnchorMargin>
getMargin(AnchorMargin margin, double distance) double
getPointWithResolver(Direction direction, double cellSize, double padding, double distance, MatrixNode item, AnchorMargin margin, MatrixOrientation orientation) List<double>
getVectorDirection(int x1, int y1, int x2, int y2) Direction
getXVertexDirection(int x1, int x2) Direction
getYVertexDirection(int y1, int y2) Direction
nodeInputFromJson(String str) List<NodeInput>
nodeInputToJson(List<NodeInput> data) String

Typedefs

EdgePaintBuilder = Paint Function(Edge edge)
EdgePathBuilder = Path Function(List<List<double>> points)
GestureEdgeDragDownCallback = void Function(DragDownDetails details, Edge edge)
GestureEdgeDragStartCallback = void Function(DragStartDetails details, Edge edge)
GestureEdgeDragUpdateCallback = void Function(DragUpdateDetails details, Edge edge)
GestureEdgeForcePressEndCallback = void Function(ForcePressDetails details, Edge edge)
GestureEdgeForcePressPeakCallback = void Function(ForcePressDetails details, Edge edge)
GestureEdgeForcePressStartCallback = void Function(ForcePressDetails details, Edge edge)
GestureEdgeForcePressUpdateCallback = void Function(ForcePressDetails details, Edge edge)
GestureEdgeLongPressEndCallback = void Function(LongPressEndDetails details, Edge edge)
GestureEdgeLongPressMoveUpdateCallback = void Function(LongPressMoveUpdateDetails details, Edge edge)
GestureEdgeLongPressStartCallback = void Function(LongPressStartDetails details, Edge edge)
GestureEdgeTapDownCallback = void Function(TapDownDetails details, Edge edge)
GestureEdgeTapUpCallback = void Function(TapUpDetails details, Edge edge)
GestureNodeDragDownCallback = void Function(DragDownDetails details, MatrixNode node)
GestureNodeDragStartCallback = void Function(DragStartDetails details, MatrixNode node)
GestureNodeDragUpdateCallback = void Function(DragUpdateDetails details, MatrixNode node)
GestureNodeForcePressEndCallback = void Function(ForcePressDetails details, MatrixNode node)
GestureNodeForcePressPeakCallback = void Function(ForcePressDetails details, MatrixNode node)
GestureNodeForcePressStartCallback = void Function(ForcePressDetails details, MatrixNode node)
GestureNodeForcePressUpdateCallback = void Function(ForcePressDetails details, MatrixNode node)
GestureNodeLongPressEndCallback = void Function(LongPressEndDetails details, MatrixNode node)
GestureNodeLongPressMoveUpdateCallback = void Function(LongPressMoveUpdateDetails details, MatrixNode node)
GestureNodeLongPressStartCallback = void Function(LongPressStartDetails details, MatrixNode node)
GestureNodeTapDownCallback = void Function(TapDownDetails details, MatrixNode node)
GestureNodeTapUpCallback = void Function(TapUpDetails details, MatrixNode node)
NodeCellBuilder = Widget Function(BuildContext context, MatrixNode node)