Skip to content
  1. API
  2. Types

GroupUpdateCallback

Type: Function

Properties

  • Promise<{ x: number, y: number, radius?: number}[] | void> A promise that resolves when the layout is done, or a Promise containing an array of positions for each node.
  • radiuses number[] The radiuses of the top level nodes.
  • topLevelNodes NodeList The nodes and groups that are not part of any group.