Options
All
  • Public
  • Public/Protected
  • All
Menu

An abstraction of a hierarchical edge for the hierarchy layout

Hierarchy

Index

Constructors

constructor

Properties

edges

edges: mxCell[]

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

height

height: number

The height of this cell. Default is 0.

ids

ids: string[]

The object identities of the wrapped cells

isReversed

isReversed: boolean

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

maxRank

maxRank: number

The maximum rank this cell occupies. Default is -1.

minRank

minRank: number

The minimum rank this cell occupies. Default is -1.

nextLayerConnectedCells

nextLayerConnectedCells: mxCell[]

A cached version of the cells this cell connects to on the next layer up

previousLayerConnectedCells

previousLayerConnectedCells: mxCell[]

A cached version of the cells this cell connects to on the next layer down

source

source: mxCell

The node this edge is sourced at

target

target: mxCell

The node this edge targets

temp

temp: any[]

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

width

width: number

The width of this cell. Default is 0.

x

x: number[]

The x position of this cell for each layer it occupies

y

y: number[]

The y position of this cell for each layer it occupies

Methods

getCoreCell

getGeneralPurposeVariable

  • getGeneralPurposeVariable(layer: number): any

getNextLayerConnectedCells

  • getNextLayerConnectedCells(layer: number): mxCell

getPreviousLayerConnectedCells

  • getPreviousLayerConnectedCells(layer: number): mxCell

getX

  • getX(layer: number): number

invert

  • invert(layer: number): void

isEdge

  • isEdge(): boolean

isVertex

  • isVertex(): boolean

setGeneralPurposeVariable

  • setGeneralPurposeVariable(layer: number, value: any): void

setX

  • setX(layer: number, value: number): void

setY

  • setY(layer: number, value: number): void

Generated using TypeDoc