Skip to main content

ComponentOrganizers

OrganizeCore

OrganizeCore(groups, start, depths) => void

Description needed

Parameters

  •  groups: IOObjectSetDescription needed

  •  start: VectorDescription needed

  •  depths: number[][]Description needed

OrganizeMaxDepth

OrganizeMaxDepth(groups, start) => void

Organizes the components so that components at greater depth are further to the right, using the getMaxNodeDepths function of Graph to accomplish this.

Parameters

  •  groups: IOObjectSet – The components to organize.

  •  start: Vector – The top left coordinate where the organization should start.

OrganizeMinDepth

OrganizeMinDepth(groups, start) => void

Organizes the components so that components at greater depth are further to the right, using the getMinNodeDepths function of Graph to accomplish this.

Parameters

  •  groups: IOObjectSet – The components to organize.

  •  start: Vector – The top left coordinate where the organization should start.