AdvancedGraphviewFlame constructor

AdvancedGraphviewFlame({
  1. required double nodePadding,
  2. required double nodeSize,
  3. required GraphDataStructure graphDataStructure,
  4. required BuildContext context,
  5. required bool isDebug,
  6. required Paint? onDrawLine(
    1. GraphNode lineFrom,
    2. GraphNode lineTwo
    )?,
  7. required AdvancedGraphviewController? advancedGraphviewController,
  8. required Color? flameBackgroundColor,
  9. required double? pixelRatio,
  10. required dynamic onNodeTap(
    1. GraphNode
    )?,
})

AdvancedGraphviewFlame uses flame engine to render the tree and its children

Implementation

AdvancedGraphviewFlame({
  required this.nodePadding,
  required this.nodeSize,
  required this.graphDataStructure,
  required this.context,
  required this.isDebug,
  required this.onDrawLine,
  required this.advancedGraphviewController,
  required this.flameBackgroundColor,
  required this.pixelRatio,
  required this.onNodeTap,
}) : super(
        camera: CameraComponent(),
      );