mxGraphHierarchyNode

An abstraction of a hierarchical edge for the hierarchy layout

Summary
mxGraphHierarchyNodeAn abstraction of a hierarchical edge for the hierarchy layout
Functions
mxGraphHierarchyNodeConstructs an internal node to represent the specified real graph cell
Variables
cellThe graph cell this object represents.
connectsAsTargetCollection of hierarchy edges that have this node as a target
connectsAsSourceCollection of hierarchy edges that have this node as a source
hashCodeAssigns a unique hashcode for each node.
Functions
getRankValueReturns the integer value of the layer that this node resides in
getNextLayerConnectedCellsReturns the cells this cell connects to on the next layer up
getPreviousLayerConnectedCellsReturns the cells this cell connects to on the next layer down
isVertexReturns true.
getGeneralPurposeVariableGets the value of temp for the specified layer
setGeneralPurposeVariableSet the value of temp for the specified layer
isAncestor
getCoreCellGets the core vertex associated with this wrapper

Functions

mxGraphHierarchyNode

function mxGraphHierarchyNode(cell)

Constructs an internal node to represent the specified real graph cell

Arguments

cellthe real graph cell this node represents

Variables

cell

mxGraphHierarchyNode.prototype.cell

The graph cell this object represents.

connectsAsTarget

mxGraphHierarchyNode.prototype.connectsAsTarget

Collection of hierarchy edges that have this node as a target

connectsAsSource

mxGraphHierarchyNode.prototype.connectsAsSource

Collection of hierarchy edges that have this node as a source

hashCode

mxGraphHierarchyNode.prototype.hashCode

Assigns a unique hashcode for each node.  Used by the model dfs instead of copying HashSets

Functions

getRankValue

mxGraphHierarchyNode.prototype.getRankValue = function(layer)

Returns the integer value of the layer that this node resides in

getNextLayerConnectedCells

mxGraphHierarchyNode.prototype.getNextLayerConnectedCells = function(layer)

Returns the cells this cell connects to on the next layer up

getPreviousLayerConnectedCells

mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells = function(layer)

Returns the cells this cell connects to on the next layer down

isVertex

mxGraphHierarchyNode.prototype.isVertex = function()

Returns true.

getGeneralPurposeVariable

mxGraphHierarchyNode.prototype.getGeneralPurposeVariable = function(layer)

Gets the value of temp for the specified layer

setGeneralPurposeVariable

mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)

Set the value of temp for the specified layer

isAncestor

mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)

getCoreCell

mxGraphHierarchyNode.prototype.getCoreCell = function()

Gets the core vertex associated with this wrapper

function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
mxGraphHierarchyNode.prototype.cell
The graph cell this object represents.
mxGraphHierarchyNode.prototype.connectsAsTarget
Collection of hierarchy edges that have this node as a target
mxGraphHierarchyNode.prototype.connectsAsSource
Collection of hierarchy edges that have this node as a source
mxGraphHierarchyNode.prototype.hashCode
Assigns a unique hashcode for each node.
mxGraphHierarchyNode.prototype.getRankValue = function(layer)
Returns the integer value of the layer that this node resides in
mxGraphHierarchyNode.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphHierarchyNode.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphHierarchyNode.prototype.getCoreCell = function()
Gets the core vertex associated with this wrapper
Close