Interface: LayoutProgress
Positions of a simulation on its way to rest. The arrays are the caller's to keep.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
alpha | readonly | number | How far from rest, 1 to 0. |
settled | readonly | boolean | These are the final positions and only the bundled routes are still to come (a request with bundle). Otherwise they are the simulation's on its way: centered as the result will be, but not yet cleared of the last overlaps, which the result is. |
thread | readonly | LayoutThread | - |
ticks | readonly | number | Ticks run so far and the ticks from start to rest. |
totalTicks | readonly | number | - |
x | readonly | Float64Array | - |
y | readonly | Float64Array | - |
z? | readonly | Float64Array<ArrayBufferLike> | - |