This interface is implemented by classes that require to be notified of changes in IPartitions.
Inheritance Hierarchy
IDecompositionListener
Remarks
Implementations are notified when PartitionCells are created, divided, finalized and/or unlocked.
Type Details
- yfiles module
- router-polyline
- yfiles-umd modules
- layout-area, layout-multipage, layout-orthogonal-compact, layout, router-bus, router-polyline
- Legacy UMD name
- yfiles.router.IDecompositionListener
Methods
Callback after the new given PartitionCell has been created.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- createdCell - PartitionCell
- the newly created PartitionCell
Callback after the given PartitionCell has been finalized.
Remarks
Before the cell may be further subdivided, it has to be unlocked again.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- finalizedCell - PartitionCell
- the cell that has been finalized
Callback after the given PartitionCell has been subdivided into several sub-cells.
Remarks
IDecompositionListener may not modify the list of sub-cells.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- cell - PartitionCell
- the cell that has been subdivided
- subCells - IList<Object>
- the sub-cells resulting from the subdivision of the given PartitionCell
Callback after the given PartitionCell has been unlocked.
Remarks
The cell had previously be finalized but has been unlocked again and may be subdivided in the future.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- unlockedCell - PartitionCell
- the cell that has been unlocked