Package | com.yworks.yfiles.layout.router.polyline |
Interface | public interface GraphPartitionExtension extends DynamicDecomposition_Listener |
Implementors | GraphPartitionExtensionAdapter |
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