GrafoNode constructor

GrafoNode({
  1. int id = 0,
  2. String? name,
  3. List<GrafoNode>? children,
  4. bool selected = false,
  5. Offset position = const Offset(0, 0),
  6. Size size = const Size(100, 100),
})

Implementation

GrafoNode(
    {this.id = 0,
    this.name,
    List<GrafoNode>? children,
    this.selected = false,
    this.position = const Offset(0, 0),
    this.size = const Size(100, 100)});