This interface provides additional intervals in order to move from one partition cell into an adjacent one.
Inheritance Hierarchy
IEnterIntervalCalculator
Remarks
To find a EdgeRouterPath for an edge, the PathSearch algorithm moves 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.
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.IEnterIntervalCalculator
See Also
Methods
appendEnterIntervals
(currentEntrance: CellEntrance, enteredCell: PartitionCell, commonInterval: OrthogonalInterval, allEnterIntervals: IList<Object>, context: PathSearchContext)Appends additional enter intervals to the given list of enter intervals for moving from the partition cell of the current CellEntrance to the neighboring cell.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- currentEntrance - CellEntrance
- the current CellEntrance that is exited
- enteredCell - PartitionCell
- the neighboring cell that will be entered
- commonInterval - OrthogonalInterval
- the common interval of the left and entered partition cells
- allEnterIntervals - IList<Object>
- the list to which additional enter intervals have to be appended
- context - PathSearchContext
- the context of the path search