Package | com.yworks.yfiles.layout.router.polyline |
Interface | public interface EnterIntervalCalculator |
To find a com.yworks.yfiles.layout.router.polyline.Path for an edge, the com.yworks.yfiles.layout.router.polyline.PathSearch algorithm traverses from the current partition cell to an adjacent partition cell. By default, the orthogonal interval shared by these two cells is used. Implementations of this interface may be added to the PathSearch
to calculate additional enter intervals that might accumulate lower costs for entering the adjacent cell.
See also
Method | Defined By | ||
---|---|---|---|
appendEnterIntervals(currentEntrance:CellEntrance, enteredCell:PartitionCell, commonInterval:OrthogonalInterval, allEnterIntervals:List, context:PathSearchContext):void
Appends additional enter intervals for traversing from partition cell of currentEntrance to enteredCell to the given list enteredCell. | EnterIntervalCalculator |
appendEnterIntervals | () | method |
public function appendEnterIntervals(currentEntrance:CellEntrance, enteredCell:PartitionCell, commonInterval:OrthogonalInterval, allEnterIntervals:List, context:PathSearchContext):void
Appends additional enter intervals for traversing from partition cell of currentEntrance
to enteredCell
to the given list enteredCell
.
Parameters
currentEntrance:CellEntrance — The current CellEntrance that is left.
| |
enteredCell:PartitionCell — The neighbor cell that shall be entered.
| |
commonInterval:OrthogonalInterval — The common interval of the left and entered partition cells.
| |
allEnterIntervals:List — The list to which additional enter intervals have to be appended.
| |
context:PathSearchContext — The context of the path search.
|