A InteractiveOrganicLayoutExecutionContext provides control over the layout calculation in the case of single-threaded algorithm execution.
Inheritance Hierarchy
InteractiveOrganicLayoutExecutionContext
Type Details
- yfiles module
- layout-organic
- yfiles-umd modules
- layout-multipage, layout-organic, layout
- Legacy UMD name
- yfiles.organic.InteractiveOrganicLayoutExecutionContext
See Also
Methods
Starts the layout calculation, continuing where it has stopped before and allowing a certain maximum duration in milliseconds.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- duration - number
- the duration in milliseconds the layout calculation is allowed to run
Stops the layout calculation.
After calling this method, the context instance cannot continue layout calculation again.