NiceDiagramNode constructor

NiceDiagramNode({
  1. required String id,
  2. required String label,
  3. double x = 0,
  4. double y = 0,
  5. double width = 120,
  6. double height = 48,
  7. Color? color,
})

Implementation

NiceDiagramNode({
  required this.id,
  required this.label,
  this.x = 0,
  this.y = 0,
  this.width = 120,
  this.height = 48,
  this.color,
});