An abstraction of a hierarchical edge for the hierarchy layout
mxGraphHierarchyEdge | An abstraction of a hierarchical edge for the hierarchy layout |
Functions | |
mxGraphHierarchyEdge | Constructs a hierarchy edge |
Variables | |
edges | The graph edge(s) this object represents. |
source | The node this edge is sourced at |
target | The node this edge targets |
isReversed | Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout |
Functions | |
invert | Inverts the direction of this internal edge(s) |
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 true. |
getGeneralPurposeVariable | Gets the value of temp for the specified layer |
setGeneralPurposeVariable | Set the value of temp for the specified layer |
Constructs a hierarchy edge
function mxGraphHierarchyEdge( edges )
The graph edge(s) this object represents.
mxGraphHierarchyEdge.prototype.edges
The node this edge is sourced at
mxGraphHierarchyEdge.prototype.source
The node this edge targets
mxGraphHierarchyEdge.prototype.target
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
mxGraphHierarchyEdge.prototype.isReversed
Inverts the direction of this internal edge(s)
mxGraphHierarchyEdge.prototype.invert = function( layer )
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells = function( layer )
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells = function( layer )
Returns true.
mxGraphHierarchyEdge.prototype.isEdge = function()
Gets the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable = function( layer )
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function( layer, value )