Skip to content

Interface: GraphForce ​

What force.simulate needs to run the layout of a calc again, step by step.

Properties ​

PropertyModifierTypeDescription
graphreadonlyLayoutGraphThe graph and the options the layout ran with.
optionsreadonlyForceOptions & object-
simulatereadonlybooleanforce.simulate, for a graph small enough to step on the main thread.
start?readonlyForceStartforce.start: the positions the layout went on from instead of starting from the spiral, and how warm it was there (warm.ts).

Released under the MIT License.