Packagecom.yworks.yfiles.layout.router.polyline
Interfacepublic interface GraphPartitionExtension extends DynamicDecomposition_Listener
Implementors GraphPartitionExtensionAdapter

Implementations are extending the functionality of a com.yworks.yfiles.layout.router.polyline.GraphPartition.

A GraphPartitionExtension can be used to create (com.yworks.yfiles.layout.router.polyline.GraphPartition.createObstacle()) new com.yworks.yfiles.layout.router.polyline.Obstacle s that will be given to the initializer of the com.yworks.yfiles.layout.router.polyline.ObstaclePartition and react to its decomposition events if the com.yworks.yfiles.layout.router.polyline.ObstaclePartition is a com.yworks.yfiles.layout.router.polyline.DynamicDecomposition.

A GraphPartitionExtension has to be added (com.yworks.yfiles.layout.router.polyline.GraphPartition.addDynamicDecompositionListener()) to the com.yworks.yfiles.layout.router.polyline.GraphPartition which will call its preparePartition (preparePartition()) method before the ObstaclePartition is initialized.

See also

com.yworks.yfiles.layout.router.polyline.GraphPartition
create
com.yworks.yfiles.layout.router.polyline.Obstacle
com.yworks.yfiles.layout.router.polyline.ObstaclePartition
com.yworks.yfiles.layout.router.polyline.DynamicDecomposition
added
preparePartition