mxGraphHierarchyEdge

An abstraction of a hierarchical edge for the hierarchy layout

Summary
mxGraphHierarchyEdgeAn abstraction of a hierarchical edge for the hierarchy layout
Functions
mxGraphHierarchyEdgeConstructs a hierarchy edge
Variables
edgesThe graph edge(s) this object represents.
sourceThe node this edge is sourced at
targetThe node this edge targets
isReversedWhether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
Functions
invertInverts the direction of this internal edge(s)
getNextLayerConnectedCellsReturns the cells this cell connects to on the next layer up
getPreviousLayerConnectedCellsReturns the cells this cell connects to on the next layer down
isEdgeReturns true.
getGeneralPurposeVariableGets the value of temp for the specified layer
setGeneralPurposeVariableSet the value of temp for the specified layer
getCoreCellGets the first core edge associated with this wrapper

Functions

mxGraphHierarchyEdge

function mxGraphHierarchyEdge(edges)

Constructs a hierarchy edge

Arguments

edgesa list of real graph edges this abstraction represents

Variables

edges

mxGraphHierarchyEdge.prototype.edges

The graph edge(s) this object represents.  Parallel edges are all grouped together within one hierarchy edge.

source

mxGraphHierarchyEdge.prototype.source

The node this edge is sourced at

target

mxGraphHierarchyEdge.prototype.target

The node this edge targets

isReversed

mxGraphHierarchyEdge.prototype.isReversed

Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout

Functions

invert

mxGraphHierarchyEdge.prototype.invert = function(layer)

Inverts the direction of this internal edge(s)

getNextLayerConnectedCells

mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells = function(layer)

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

getPreviousLayerConnectedCells

mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells = function(layer)

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

isEdge

mxGraphHierarchyEdge.prototype.isEdge = function()

Returns true.

getGeneralPurposeVariable

mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable = function(layer)

Gets the value of temp for the specified layer

setGeneralPurposeVariable

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

Set the value of temp for the specified layer

getCoreCell

mxGraphHierarchyEdge.prototype.getCoreCell = function()

Gets the first core edge associated with this wrapper

function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
mxGraphHierarchyEdge.prototype.edges
The graph edge(s) this object represents.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxGraphHierarchyEdge.prototype.target
The node this edge targets
mxGraphHierarchyEdge.prototype.isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
mxGraphHierarchyEdge.prototype.invert = function(layer)
Inverts the direction of this internal edge(s)
mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyEdge.prototype.isEdge = function()
Returns true.
mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.getCoreCell = function()
Gets the first core edge associated with this wrapper
Close