Options
All
  • Public
  • Public/Protected
  • All
Menu

An abstraction of an internal hierarchy node or edge

Hierarchy

Index

Constructors

constructor

Properties

height

height: number

The height of this cell. Default is 0.

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

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

getGeneralPurposeVariable

  • getGeneralPurposeVariable(layer: any): any

getNextLayerConnectedCells

  • getNextLayerConnectedCells(layer: any): mxCell

getPreviousLayerConnectedCells

  • getPreviousLayerConnectedCells(layer: any): mxCell

getX

  • getX(layer: number): number

isEdge

  • isEdge(): boolean

isVertex

  • isVertex(): boolean

setGeneralPurposeVariable

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

setX

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

setY

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

Generated using TypeDoc