GraphView<V, G> constructor

GraphView<V, G>(
  1. Graph<V> graph, {
  2. Key? key,
  3. required GraphViewBuildDelegate<V, G> buildDelegate,
  4. required GraphViewLayoutDelegate<V> layoutDelegate,
  5. GraphViewOrientation orientation = GraphViewOrientation.vertical,
  6. GraphViewThemeData? theme,
  7. GraphViewThemeData? darkTheme,
  8. GraphViewController? controller,
  9. GraphViewRecorder? recorder,
  10. GraphViewGrouping<V, G>? grouping,
  11. bool useAppTheme = true,
})

Implementation

GraphView(
  this.graph, {
  super.key,
  required this.buildDelegate,
  required this.layoutDelegate,
  this.orientation = GraphViewOrientation.vertical,
  this.theme,
  this.darkTheme,
  GraphViewController? controller,
  this.recorder,
  this.grouping,
  this.useAppTheme = true,
}) : controller = controller ?? GraphViewController();