GraphLayoutNode constructor

const GraphLayoutNode({
  1. required String id,
  2. required DiagramSize size,
  3. DiagramPoint? position,
  4. bool pinned = false,
  5. String? parentId,
  6. LayoutInset inset = LayoutInset.zero,
  7. bool collapsed = false,
  8. bool centered = false,
})

Implementation

const GraphLayoutNode({
  required this.id,
  required this.size,
  this.position,
  this.pinned = false,
  this.parentId,
  this.inset = LayoutInset.zero,
  this.collapsed = false,
  this.centered = false,
});