GraphNode constructor

const GraphNode({
  1. required String id,
  2. required String label,
  3. Color? color,
  4. Map<String, dynamic>? data,
})

Implementation

const GraphNode({
  required this.id,
  required this.label,
  this.color,
  this.data,
});