A PartitionCell represents a rectangular part of an IRouterPartition as result of the decomposition process for the path search algorithm of EdgeRouter.
Type Details
- yFiles module
- algorithms
Constructors
Creates a new PartitionCell of the given IRouterPartition with the location and the size of the given rectangle.
Parameters
A map of options to pass to the method.
- bounds - Rect
- The bounds describing the size and location of the partition cell
- partition - IRouterPartition
- The partition to which the partition cell belongs
See Also
Properties
Gets the bounds of this PartitionCell.
Property Value
Gets the height of this PartitionCell.
Property Value
Gets a unique identifier of this PartitionCell.
Property Value
Gets the x-coordinate of the right border of this PartitionCell.
Property Value
Gets the y-coordinate of the bottom border of this PartitionCell.
Property Value
Gets the x-coordinate of the left border of this PartitionCell.
Property Value
Gets the y-coordinate of the upper border of this PartitionCell.
Property Value
Gets the partition to which this PartitionCell belongs.
Gets the width of this PartitionCell.
Property Value
Methods
Returns the list of nodes whose bounds cover or intersect this cell.
Returns
- ↪IList<LayoutNode>
- the nodes whose bounds cover or intersect this cell
Returns the LayoutGridCellDescriptor of the LayoutGrid covering this cell.
Returns
- ↪LayoutGridCellDescriptor?
- the LayoutGridCellDescriptor of the LayoutGrid covering this cell
Returns the list of nodes in node-to-edge distance of this cell.
Returns
- ↪IList<LayoutNode>
- the nodes in node-to-edge distance of this cell