A PartitionCell represents a rectangular part of a IPartition as result of the decomposition process.
Remarks
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.PartitionCell
See Also
Constructors
Creates a new PartitionCell of the given IPartition with the location and the size of the given rectangle.
Parameters
A map of options to pass to the method.
- bounds - YRectangle
- the bounds describing the size and location of the partition cell
- partition - IPartition
- the partition to which the partition cell belongs
See Also
Creates a new PartitionCell instance of the given IPartition with the given bounds.
Parameters
A map of options to pass to the method.
- x - number
- the x-coordinate of the upper-left corner of the partition cell
- y - number
- the y-coordinate of the upper-left corner of the partition cell
- width - number
- the width of the partition cell
- height - number
- the height of the partition cell
- partition - IPartition
- the partition to which the partition cell belongs
See Also
Properties
Gets the bounds of this PartitionCell.
Gets the height of this PartitionCell.
Gets a unique identifier of this PartitionCell.
Gets the x-coordinate of the right border of this PartitionCell.
Gets the y-coordinate of the bottom border of this PartitionCell.
Gets the x-coordinate of the left border of this PartitionCell.
Gets the y-coordinate of the upper border of this PartitionCell.
Gets the partition to which this PartitionCell belongs.
See Also
Gets the width of this PartitionCell.
Methods
Clears all additional data for this PartitionCell.
Returns an OrthogonalInterval that defines the location, the size and the orientation of the given PartitionCellBorder.
Remarks
Parameters
A map of options to pass to the method.
- border - PartitionCellBorder
- a border of this partition cell
Returns
- ↪OrthogonalInterval
- an OrthogonalInterval that defines the location, the size and the orientation of the given border
See Also
Returns the additional data associated with the given key for this PartitionCell.
Parameters
A map of options to pass to the method.
- key - Object
- the key whose associated data will be returned
Returns
- ↪any
- the additional data associated with the given key or
null
if there is no data associated with the given key
See Also
Stores the additional data associated with the given key for this PartitionCell.
Removes the additional data associated with the given key for this PartitionCell.
Parameters
A map of options to pass to the method.
- key - Object
- the key for which the associated data will be removed
Returns
- ↪any
- the additional data associated with the given key or
null
if there is no data associated with the given key