An abstraction of an internal hierarchy node or edge
mxGraphAbstractHierarchyCell | An abstraction of an internal hierarchy node or edge |
Functions | |
mxGraphAbstractHierarchyCell | Constructs a new hierarchical layout algorithm. |
Variables | |
maxRank | The maximum rank this cell occupies. |
minRank | The minimum rank this cell occupies. |
x | The x position of this cell for each layer it occupies |
y | The y position of this cell for each layer it occupies |
width | The width of this cell. |
height | The height of this cell. |
nextLayerConnectedCells | A cached version of the cells this cell connects to on the next layer up |
previousLayerConnectedCells | A cached version of the cells this cell connects to on the next layer down |
temp | Temporary variable for general use. |
Functions | |
getNextLayerConnectedCells | Returns the cells this cell connects to on the next layer up |
getPreviousLayerConnectedCells | Returns the cells this cell connects to on the next layer down |
isEdge | Returns whether or not this cell is an edge |
isVertex | Returns whether or not this cell is a node |
getGeneralPurposeVariable | Gets the value of temp for the specified layer |
setGeneralPurposeVariable | Set the value of temp for the specified layer |
setX | Set the value of x for the specified layer |
getX | Gets the value of x on the specified layer |
setY | Set the value of y for the specified layer |
mxGraphAbstractHierarchyCell.prototype.temp
Temporary variable for general use. Generally, try to avoid carrying information between stages. Currently, the longest path layering sets temp to the rank position in fixRanks() and the crossing reduction uses this. This meant temp couldn’t be used for hashing the nodes in the model dfs and so hashCode was created
Constructs a new hierarchical layout algorithm.
function mxGraphAbstractHierarchyCell()
The maximum rank this cell occupies.
mxGraphAbstractHierarchyCell.prototype.maxRank
The minimum rank this cell occupies.
mxGraphAbstractHierarchyCell.prototype.minRank
The x position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.x
The y position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.y
The width of this cell.
mxGraphAbstractHierarchyCell.prototype.width
The height of this cell.
mxGraphAbstractHierarchyCell.prototype.height
A cached version of the cells this cell connects to on the next layer up
mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells
A cached version of the cells this cell connects to on the next layer down
mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells
Temporary variable for general use.
mxGraphAbstractHierarchyCell.prototype.temp
Returns the cells this cell connects to on the next layer up
mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells = function( layer )
Returns the cells this cell connects to on the next layer down
mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells = function( layer )
Returns whether or not this cell is an edge
mxGraphAbstractHierarchyCell.prototype.isEdge = function()
Returns whether or not this cell is a node
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Gets the value of temp for the specified layer
mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable = function( layer )
Set the value of temp for the specified layer
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setX = function( layer, value )
Gets the value of x on the specified layer
mxGraphAbstractHierarchyCell.prototype.getX = function( layer )
Set the value of y for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function( layer, value )