GraphWidget constructor

const GraphWidget({
  1. Key? key,
  2. required GraphController controller,
  3. required NodeActionCallback onNodeSecondaryTap,
  4. required NodeActionCallback onNodeLongPress,
})

Implementation

const GraphWidget({
  super.key,
  required this.controller,
  required this.onNodeSecondaryTap,
  required this.onNodeLongPress,
});