|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GraphPartitionExtension
This interface provides methods for extending the functionality of a GraphPartition.
A GraphPartitionExtension can be used for creating
new Obstacles that will be given to the initializer of the ObstaclePartition where they can react to
the ObstaclePartition's decomposition events if it implements the DynamicDecomposition interface.
A GraphPartitionExtension has to be added
to the GraphPartition which will call method preparePartition(PathSearchConfiguration, GraphPartition)
before the ObstaclePartition is initialized.
![]() |
![]() |
| Method Summary | |
|---|---|
void |
cleanup()
Cleans up the extension from the last partitioning with the current configuration
and GraphPartition. |
void |
preparePartition(PathSearchConfiguration configuration,
GraphPartition graphPartition)
Adds a GraphPartitionExtension to the GraphPartition. |
| Methods inherited from interface y.layout.router.polyline.DynamicDecomposition.Listener |
|---|
onCellCreated, onCellFinalized, onCellSubdivided, onCellUnlocked |
| Method Detail |
|---|
void preparePartition(PathSearchConfiguration configuration,
GraphPartition graphPartition)
GraphPartitionExtension to the GraphPartition.
It is called by the given GraphPartition upon initialization before its ObstaclePartition is initialized.
Implementations may use the graph upon which the given GraphPartition is based to initialize themselves
and/or to add obstacles to the list
with which ObstaclePartition is initialized.
configuration - the configuration used for the path searchgraphPartition - the graph partition that uses this extensionvoid cleanup()
configuration
and GraphPartition.
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||