GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • @maxgraph/core

This view

  • Original page
  • New address

GeezerVison is showing maxgraph.github.io — GraphHierarchyEdge | @maxgraph/core

  • GraphHierarchyEdge

Class GraphHierarchyEdge

An abstraction of a hierarchical edge for the hierarchy layout

Hierarchy (View Summary)

  • GraphAbstractHierarchyCell
    • GraphHierarchyEdge
  • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:29
Index

Constructors

constructor

Properties

children collapsed connectable edge edges geometry height id ids invalidating isReversed maxRank minRank mxTransient nextLayerConnectedCells onInit overlays parent previousLayerConnectedCells source style swimlaneIndex target temp value vertex visible width x y

Methods

clone cloneValue filterDescendants getAttribute getChildAt getChildCells getChildCount getChildEdges getChildren getChildVertices getClonedStyle getConnections getCoreCell getDescendants getDirectedEdgeCount getEdgeAt getEdgeCount getEdgeIndex getEdges getGeneralPurposeVariable getGeometry getId getIncomingEdges getIndex getNearestCommonAncestor getNextLayerConnectedCells getOrigin getOutgoingEdges getParent getPreviousLayerConnectedCells getRoot getStyle getTerminal getValue getX hasAttribute insert insertEdge invert isAncestor isCollapsed isConnectable isEdge isVertex isVisible remove removeEdge removeFromParent removeFromTerminal setAttribute setCollapsed setConnectable setEdge setGeneralPurposeVariable setGeometry setId setParent setStyle setTerminal setValue setVertex setVisible setX setY valueChanged

Constructors

constructor

  • new GraphHierarchyEdge(edges: Cell[]): GraphHierarchyEdge

    Constructs a hierarchy edge

    Parameters

    • edges: Cell[]

      a list of real graph edges this abstraction represents

    Returns GraphHierarchyEdge

    Overrides GraphAbstractHierarchyCell.constructor

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:62

Properties

children

children: Cell[] = []

Holds the child cells.

Default

[]

Inherited from GraphAbstractHierarchyCell.children

  • Defined in view/cell/Cell.ts:170

collapsed

collapsed: boolean = false

Specifies whether the cell is collapsed.

Default

false

Inherited from GraphAbstractHierarchyCell.collapsed

  • Defined in view/cell/Cell.ts:146

connectable

connectable: boolean = true

Specifies whether the cell is connectable.

Default

true

Inherited from GraphAbstractHierarchyCell.connectable

  • Defined in view/cell/Cell.ts:134

edge

edge: boolean = false

Specifies whether the cell is an edge.

Default

false

Inherited from GraphAbstractHierarchyCell.edge

  • Defined in view/cell/Cell.ts:128

edges

edges: Cell[]

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

Overrides GraphAbstractHierarchyCell.edges

  • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:34

geometry

geometry: Geometry | null = null

Holds the Geometry.

Default

null

Inherited from GraphAbstractHierarchyCell.geometry

  • Defined in view/cell/Cell.ts:110

height

height: number = 0

The height of this cell. Default is 0.

Inherited from GraphAbstractHierarchyCell.height

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:57

id

id: string | null = null

Holds the identifier of the Cell.

Default

null

Inherited from GraphAbstractHierarchyCell.id

  • Defined in view/cell/Cell.ts:98

ids

ids: string[]

The object identities of the wrapped cells

  • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:39

invalidating

invalidating: boolean = false

Inherited from GraphAbstractHierarchyCell.invalidating

  • Defined in view/cell/Cell.ts:87

isReversed

isReversed: boolean = false

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

  • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:55

maxRank

maxRank: number = -1

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

Inherited from GraphAbstractHierarchyCell.maxRank

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:32

minRank

minRank: number = -1

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

Inherited from GraphAbstractHierarchyCell.minRank

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:37

mxTransient

mxTransient: string[] = ...

List of members that should not be cloned inside clone. This field is passed to utils.clone and is not made persistent in CellCodec. This is not a convention for all classes, it is only used in this class to mark transient fields since transient modifiers are not supported by the language.

Inherited from GraphAbstractHierarchyCell.mxTransient

  • Defined in view/cell/Cell.ts:185

nextLayerConnectedCells

nextLayerConnectedCells: { [key: number]: GraphAbstractHierarchyCell[] } | null = null

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

Inherited from GraphAbstractHierarchyCell.nextLayerConnectedCells

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:62

onInit

onInit: (() => void) | null = null

Inherited from GraphAbstractHierarchyCell.onInit

  • Defined in view/cell/Cell.ts:89

overlays

overlays: CellOverlay[] = []

Inherited from GraphAbstractHierarchyCell.overlays

  • Defined in view/cell/Cell.ts:92

parent

parent: Cell | null = null

Reference to the parent cell.

Default

null

Inherited from GraphAbstractHierarchyCell.parent

  • Defined in view/cell/Cell.ts:152

previousLayerConnectedCells

previousLayerConnectedCells:
    | { [key: number]: GraphAbstractHierarchyCell[] }
    | null = null

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

Inherited from GraphAbstractHierarchyCell.previousLayerConnectedCells

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:67

source

source: GraphHierarchyNode | null = null

The node this edge is sourced at

Overrides GraphAbstractHierarchyCell.source

  • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:44

style

style: CellStyle = {}

Holds the style of the Cell.

Default

{}

Inherited from GraphAbstractHierarchyCell.style

  • Defined in view/cell/Cell.ts:116

swimlaneIndex

swimlaneIndex: number | null = null

Inherited from GraphAbstractHierarchyCell.swimlaneIndex

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:27

target

target: GraphHierarchyNode | null = null

The node this edge targets

Overrides GraphAbstractHierarchyCell.target

  • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:49

temp

temp: number[]

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

Inherited from GraphAbstractHierarchyCell.temp

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:78

value

value: any = null

Holds the user object.

Default

null

Inherited from GraphAbstractHierarchyCell.value

  • Defined in view/cell/Cell.ts:104

vertex

vertex: boolean = false

Specifies whether the cell is a vertex.

Default

false

Inherited from GraphAbstractHierarchyCell.vertex

  • Defined in view/cell/Cell.ts:122

visible

visible: boolean = true

Specifies whether the cell is visible.

Default

true

Inherited from GraphAbstractHierarchyCell.visible

  • Defined in view/cell/Cell.ts:140

width

width: number = 0

The width of this cell. Default is 0.

Inherited from GraphAbstractHierarchyCell.width

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:52

x

x: number[]

The x position of this cell for each layer it occupies

Inherited from GraphAbstractHierarchyCell.x

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:42

y

y: number[]

The y position of this cell for each layer it occupies

Inherited from GraphAbstractHierarchyCell.y

  • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:47

Methods

clone

  • clone(): Cell

    Returns a clone of the cell.

    Uses cloneValue to clone the user object.

    All fields in mxTransient are ignored during the cloning.

    Returns Cell

    Inherited from GraphAbstractHierarchyCell.clone

    • Defined in view/cell/Cell.ts:608

cloneValue

  • cloneValue(): any

    Returns a clone of the cell's user object.

    Returns any

    Inherited from GraphAbstractHierarchyCell.cloneValue

    • Defined in view/cell/Cell.ts:617

filterDescendants

  • filterDescendants(filter: FilterFunction | null): Cell[]

    Visits all cells recursively and applies the specified filter function to each cell. If the function returns true then the cell is added to the resulting array. The parent and result paramters are optional. If parent is not specified then the recursion starts at root.

    Example: The following example extracts all vertices from a given model:

    var filter(cell)
    {
    return model.isVertex(cell);
    }
    var vertices = model.filterDescendants(filter);

    Parameters

    • filter: FilterFunction | null

      JavaScript function that takes an Cell as an argument and returns a boolean.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.filterDescendants

    • Defined in view/cell/Cell.ts:863

getAttribute

  • getAttribute(name: string, defaultValue?: any): any

    Returns the specified attribute from the user object if it is an XML node.

    Parameters

    • name: string

      Name of the attribute whose value should be returned.

    • OptionaldefaultValue: any

      Optional default value to use if the attribute has no value.

    Returns any

    Inherited from GraphAbstractHierarchyCell.getAttribute

    • Defined in view/cell/Cell.ts:580

getChildAt

  • getChildAt(index: number): Cell

    Returns the child at the specified index.

    Parameters

    • index: number

      Integer that specifies the child to be returned.

    Returns Cell

    Inherited from GraphAbstractHierarchyCell.getChildAt

    • Defined in view/cell/Cell.ts:420

getChildCells

  • getChildCells(vertices?: boolean, edges?: boolean): Cell[]

    Returns the children of the given cell that are vertices and/or edges depending on the arguments.

    Parameters

    • vertices: boolean = false

      Boolean indicating if child vertices should be returned. Default is false.

    • edges: boolean = false

      Boolean indicating if child edges should be returned. Default is false.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getChildCells

    • Defined in view/cell/Cell.ts:708

getChildCount

  • getChildCount(): number

    Returns the number of child cells.

    Returns number

    Inherited from GraphAbstractHierarchyCell.getChildCount

    • Defined in view/cell/Cell.ts:401

getChildEdges

  • getChildEdges(): Cell[]

    Returns the child edges of the given parent.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getChildEdges

    • Defined in view/cell/Cell.ts:695

getChildren

  • getChildren(): Cell[]

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getChildren

    • Defined in view/cell/Cell.ts:81

getChildVertices

  • getChildVertices(): Cell[]

    Returns the child vertices of the given parent.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getChildVertices

    • Defined in view/cell/Cell.ts:688

getClonedStyle

  • getClonedStyle(): CellStyle

    Use this method to get the style object to later update it and propagate changes to the view.

    See GraphDataModel.setStyle for more details.

    Returns CellStyle

    Inherited from GraphAbstractHierarchyCell.getClonedStyle

    • Defined in view/cell/Cell.ts:263

getConnections

  • getConnections(): Cell[]

    Returns all edges of the given cell without loops.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getConnections

    • Defined in view/cell/Cell.ts:758

getCoreCell

  • getCoreCell(): Cell | null

    Gets the first core edge associated with this wrapper

    Returns Cell | null

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:144

getDescendants

  • getDescendants(): Cell[]

    Returns all descendants of the given cell and the cell itself in an array.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getDescendants

    • Defined in view/cell/Cell.ts:840

getDirectedEdgeCount

  • getDirectedEdgeCount(outgoing: boolean, ignoredEdge?: Cell | null): number

    Returns the number of incoming or outgoing edges, ignoring the given edge.

    Parameters

    • outgoing: boolean

      Boolean that specifies if the number of outgoing or incoming edges should be returned.

    • ignoredEdge: Cell | null = null

      that represents an edge to be ignored.

    Returns number

    Inherited from GraphAbstractHierarchyCell.getDirectedEdgeCount

    • Defined in view/cell/Cell.ts:738

getEdgeAt

  • getEdgeAt(index: number): Cell

    Returns the edge at the specified index in edges.

    Parameters

    • index: number

      Integer that specifies the index of the edge to be returned.

    Returns Cell

    Inherited from GraphAbstractHierarchyCell.getEdgeAt

    • Defined in view/cell/Cell.ts:500

getEdgeCount

  • getEdgeCount(): number

    Returns the number of edges in the edge array.

    Returns number

    Inherited from GraphAbstractHierarchyCell.getEdgeCount

    • Defined in view/cell/Cell.ts:482

getEdgeIndex

  • getEdgeIndex(edge: Cell): number

    Returns the index of the specified edge in edges.

    Parameters

    • edge: Cell

      Cell whose index in edges should be returned.

    Returns number

    Inherited from GraphAbstractHierarchyCell.getEdgeIndex

    • Defined in view/cell/Cell.ts:491

getEdges

  • getEdges(incoming?: boolean, outgoing?: boolean, includeLoops?: boolean): Cell[]

    Returns all distinct edges connected to this cell as a new array of Cell. If at least one of incoming or outgoing is true, then loops are ignored, otherwise if both are false, then all edges connected to the given cell are returned including loops.

    Parameters

    • incoming: boolean = true

      Optional boolean that specifies if incoming edges should be returned. Default is true.

    • outgoing: boolean = true

      Optional boolean that specifies if outgoing edges should be returned. Default is true.

    • includeLoops: boolean = true

      Optional boolean that specifies if loops should be returned. Default is true.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getEdges

    • Defined in view/cell/Cell.ts:789

getGeneralPurposeVariable

  • getGeneralPurposeVariable(layer: number): number

    Gets the value of temp for the specified layer

    Parameters

    • layer: number

    Returns number

    Overrides GraphAbstractHierarchyCell.getGeneralPurposeVariable

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:130

getGeometry

  • getGeometry(): Geometry | null

    Returns the Geometry that describes the geometry.

    Returns Geometry | null

    Inherited from GraphAbstractHierarchyCell.getGeometry

    • Defined in view/cell/Cell.ts:238

getId

  • getId(): string | null

    Returns the Id of the cell as a string.

    Returns string | null

    Inherited from GraphAbstractHierarchyCell.getId

    • Defined in view/cell/Cell.ts:198

getIncomingEdges

  • getIncomingEdges(): Cell[]

    Returns the incoming edges of the given cell without loops.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getIncomingEdges

    • Defined in view/cell/Cell.ts:765

getIndex

  • getIndex(child: Cell | null): number

    Returns the index of the specified child in the child array.

    Parameters

    • child: Cell | null

      Child whose index should be returned.

    Returns number

    Inherited from GraphAbstractHierarchyCell.getIndex

    • Defined in view/cell/Cell.ts:410

getNearestCommonAncestor

  • getNearestCommonAncestor(cell2: Cell): Cell | null

    Returns the nearest common ancestor for the specified cells to this.

    Parameters

    • cell2: Cell

      that specifies the second cell in the tree.

    Returns Cell | null

    Inherited from GraphAbstractHierarchyCell.getNearestCommonAncestor

    • Defined in view/cell/Cell.ts:637

getNextLayerConnectedCells

  • getNextLayerConnectedCells(layer: number): GraphAbstractHierarchyCell[]

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

    Parameters

    • layer: number

    Returns GraphAbstractHierarchyCell[]

    Overrides GraphAbstractHierarchyCell.getNextLayerConnectedCells

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:81

getOrigin

  • getOrigin(): Point

    Returns the absolute, accumulated origin for the children inside the given parent as an Point.

    Returns Point

    Inherited from GraphAbstractHierarchyCell.getOrigin

    • Defined in view/cell/Cell.ts:817

getOutgoingEdges

  • getOutgoingEdges(): Cell[]

    Returns the outgoing edges of the given cell without loops.

    Returns Cell[]

    Inherited from GraphAbstractHierarchyCell.getOutgoingEdges

    • Defined in view/cell/Cell.ts:772

getParent

  • getParent(): Cell | null

    Returns the cell's parent.

    Returns Cell | null

    Inherited from GraphAbstractHierarchyCell.getParent

    • Defined in view/cell/Cell.ts:359

getPreviousLayerConnectedCells

  • getPreviousLayerConnectedCells(layer: number): GraphAbstractHierarchyCell[]

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

    Parameters

    • layer: number

    Returns GraphAbstractHierarchyCell[]

    Overrides GraphAbstractHierarchyCell.getPreviousLayerConnectedCells

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:101

getRoot

  • getRoot(): Cell

    Returns the root of the model or the topmost parent of the given cell.

    Returns Cell

    Inherited from GraphAbstractHierarchyCell.getRoot

    • Defined in view/cell/Cell.ts:889

getStyle

  • getStyle(): CellStyle

    Returns a string that describes the style.

    IMPORTANT: if you want to get the style object to later update it and propagate changes to the view, use getClonedStyle instead.

    Returns CellStyle

    Inherited from GraphAbstractHierarchyCell.getStyle

    • Defined in view/cell/Cell.ts:254

getTerminal

  • getTerminal(source?: boolean): Cell | null

    Returns the source or target terminal.

    Parameters

    • source: boolean = false

      Boolean that specifies if the source terminal should be returned.

    Returns Cell | null

    Inherited from GraphAbstractHierarchyCell.getTerminal

    • Defined in view/cell/Cell.ts:378

getValue

  • getValue(): any

    Returns the user object of the cell. The user object is stored in value.

    Returns any

    Inherited from GraphAbstractHierarchyCell.getValue

    • Defined in view/cell/Cell.ts:212

getX

  • getX(layer: number): number

    Gets the value of x on the specified layer

    Parameters

    • layer: number

    Returns number

    Inherited from GraphAbstractHierarchyCell.getX

    • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:138

hasAttribute

  • hasAttribute(name: string): boolean

    Returns true if the user object is an XML node that contains the given attribute.

    Parameters

    • name: string

      Name nameName of the attribute.

    Returns boolean

    Inherited from GraphAbstractHierarchyCell.hasAttribute

    • Defined in view/cell/Cell.ts:565

insert

  • insert(child: Cell, index?: number): Cell | null

    Inserts the specified child into the child array at the specified index and updates the parent reference of the child. If not index is specified, then the child is appended to the child array. Returns the inserted child.

    Parameters

    • child: Cell

      Cell to be inserted or appended to the child array.

    • Optionalindex: number

      Optional integer that specifies the index at which the child should be inserted into the child array.

    Returns Cell | null

    Inherited from GraphAbstractHierarchyCell.insert

    • Defined in view/cell/Cell.ts:432

insertEdge

  • insertEdge(edge: Cell, isOutgoing?: boolean): Cell

    Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge.

    Parameters

    • edge: Cell

      Cell to be inserted into the edge array.

    • isOutgoing: boolean = false

      Boolean that specifies if the edge is outgoing.

    Returns Cell

    Inherited from GraphAbstractHierarchyCell.insertEdge

    • Defined in view/cell/Cell.ts:511

invert

  • invert(): void

    Inverts the direction of this internal edge(s)

    Returns void

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:71

isAncestor

  • isAncestor(child: Cell | null): boolean

    Returns true if the given parent is an ancestor of the given child. Note returns true if child == parent.

    Parameters

    • child: Cell | null

      that specifies the child.

    Returns boolean

    Inherited from GraphAbstractHierarchyCell.isAncestor

    • Defined in view/cell/Cell.ts:677

isCollapsed

  • isCollapsed(): boolean

    Returns true if the cell is collapsed.

    Returns boolean

    Inherited from GraphAbstractHierarchyCell.isCollapsed

    • Defined in view/cell/Cell.ts:343

isConnectable

  • isConnectable(): boolean

    Returns true if the cell is connectable.

    Returns boolean

    Inherited from GraphAbstractHierarchyCell.isConnectable

    • Defined in view/cell/Cell.ts:311

isEdge

  • isEdge(): boolean

    Returns true.

    Returns boolean

    Overrides GraphAbstractHierarchyCell.isEdge

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:123

isVertex

  • isVertex(): boolean

    Returns whether or not this cell is a node

    Returns boolean

    Inherited from GraphAbstractHierarchyCell.isVertex

    • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:110

isVisible

  • isVisible(): boolean

    Returns true if the cell is visibile.

    Returns boolean

    Inherited from GraphAbstractHierarchyCell.isVisible

    • Defined in view/cell/Cell.ts:327

remove

  • remove(index: number): Cell | null

    Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child.

    Parameters

    • index: number

      Integer that specifies the index of the child to be removed.

    Returns Cell | null

    Inherited from GraphAbstractHierarchyCell.remove

    • Defined in view/cell/Cell.ts:455

removeEdge

  • removeEdge(edge: Cell | null, isOutgoing?: boolean): Cell | null

    Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge.

    Parameters

    • edge: Cell | null

      Cell to be removed from the edge array.

    • isOutgoing: boolean = false

      Boolean that specifies if the edge is outgoing.

    Returns Cell | null

    Inherited from GraphAbstractHierarchyCell.removeEdge

    • Defined in view/cell/Cell.ts:533

removeFromParent

  • removeFromParent(): void

    Removes the cell from its parent.

    Returns void

    Inherited from GraphAbstractHierarchyCell.removeFromParent

    • Defined in view/cell/Cell.ts:472

removeFromTerminal

  • removeFromTerminal(isSource: boolean): void

    Removes the edge from its source or target terminal.

    Parameters

    • isSource: boolean

      Boolean that specifies if the edge should be removed from its source or target terminal.

    Returns void

    Inherited from GraphAbstractHierarchyCell.removeFromTerminal

    • Defined in view/cell/Cell.ts:552

setAttribute

  • setAttribute(name: string, value: any): void

    Sets the specified attribute on the user object if it is an XML node.

    Parameters

    • name: string

      Name of the attribute whose value should be set.

    • value: any

      New value of the attribute.

    Returns void

    Inherited from GraphAbstractHierarchyCell.setAttribute

    • Defined in view/cell/Cell.ts:593

setCollapsed

  • setCollapsed(collapsed: boolean): void

    Sets the collapsed state.

    Parameters

    • collapsed: boolean

      Boolean that specifies the new collapsed state.

    Returns void

    Inherited from GraphAbstractHierarchyCell.setCollapsed

    • Defined in view/cell/Cell.ts:352

setConnectable

  • setConnectable(connectable: boolean): void

    Sets the connectable state.

    Parameters

    • connectable: boolean

      Boolean that specifies the new connectable state.

    Returns void

    Inherited from GraphAbstractHierarchyCell.setConnectable

    • Defined in view/cell/Cell.ts:320

setEdge

  • setEdge(edge: boolean): void

    Specifies if the cell is an edge. This should only be assigned at construction of the cell and not be changed during its lifecycle.

    Parameters

    • edge: boolean

      Boolean that specifies if the cell is an edge.

    Returns void

    Inherited from GraphAbstractHierarchyCell.setEdge

    • Defined in view/cell/Cell.ts:304

setGeneralPurposeVariable

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

    Set the value of temp for the specified layer

    Parameters

    • layer: number
    • value: number

    Returns void

    Overrides GraphAbstractHierarchyCell.setGeneralPurposeVariable

    • Defined in view/layout/datatypes/GraphHierarchyEdge.ts:137

setGeometry

  • setGeometry(geometry: Geometry | null): void

    Sets the Geometry to be used as the geometry.

    Parameters

    • geometry: Geometry | null

    Returns void

    Inherited from GraphAbstractHierarchyCell.setGeometry

    • Defined in view/cell/Cell.ts:245

setId

  • setId(id: string): void

    Sets the Id of the cell to the given string.

    Parameters

    • id: string

    Returns void

    Inherited from GraphAbstractHierarchyCell.setId

    • Defined in view/cell/Cell.ts:205

setParent

  • setParent(parent: Cell | null): void

    Sets the parent cell.

    Parameters

    • parent: Cell | null

    Returns void

    Inherited from GraphAbstractHierarchyCell.setParent

    • Defined in view/cell/Cell.ts:368

setStyle

  • setStyle(style: CellStyle): void

    Sets the string to be used as the style.

    Parameters

    • style: CellStyle

    Returns void

    Inherited from GraphAbstractHierarchyCell.setStyle

    • Defined in view/cell/Cell.ts:270

setTerminal

  • setTerminal(terminal: Cell | null, isSource: boolean): Cell | null

    Sets the source or target terminal and returns the new terminal.

    Parameters

    • terminal: Cell | null

      Cell that represents the new source or target terminal.

    • isSource: boolean

      boolean that specifies if the source or target terminal should be set.

    Returns Cell | null

    Inherited from GraphAbstractHierarchyCell.setTerminal

    • Defined in view/cell/Cell.ts:388

setValue

  • setValue(value: any): void

    Sets the user object of the cell. The user object is stored in value.

    Parameters

    • value: any

    Returns void

    Inherited from GraphAbstractHierarchyCell.setValue

    • Defined in view/cell/Cell.ts:219

setVertex

  • setVertex(vertex: boolean): void

    Specifies if the cell is a vertex. This should only be assigned at construction of the cell and not be changed during its lifecycle.

    Parameters

    • vertex: boolean

      Boolean that specifies if the cell is a vertex.

    Returns void

    Inherited from GraphAbstractHierarchyCell.setVertex

    • Defined in view/cell/Cell.ts:287

setVisible

  • setVisible(visible: boolean): void

    Specifies if the cell is visible.

    Parameters

    • visible: boolean

      Boolean that specifies the new visible state.

    Returns void

    Inherited from GraphAbstractHierarchyCell.setVisible

    • Defined in view/cell/Cell.ts:336

setX

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

    Set the value of x for the specified layer

    Parameters

    • layer: number
    • value: number

    Returns void

    Inherited from GraphAbstractHierarchyCell.setX

    • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:127

setY

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

    Set the value of y for the specified layer

    Parameters

    • layer: number
    • value: number

    Returns void

    Inherited from GraphAbstractHierarchyCell.setY

    • Defined in view/layout/datatypes/GraphAbstractHierarchyCell.ts:151

valueChanged

  • valueChanged(newValue: any): any

    Changes the user object after an in-place edit and returns the previous value. This implementation replaces the user object with the given value and returns the old user object.

    Parameters

    • newValue: any

    Returns any

    Inherited from GraphAbstractHierarchyCell.valueChanged

    • Defined in view/cell/Cell.ts:229

Settings

Member Visibility
  • Protected
  • Inherited
Theme

On This Page

Constructors
constructor
Properties
childrencollapsedconnectableedgeedgesgeometryheightididsinvalidatingisReversedmaxRankminRankmxTransientnextLayerConnectedCellsonInitoverlaysparentpreviousLayerConnectedCellssourcestyleswimlaneIndextargettempvaluevertexvisiblewidthxy
Methods
clonecloneValuefilterDescendantsgetAttributegetChildAtgetChildCellsgetChildCountgetChildEdgesgetChildrengetChildVerticesgetClonedStylegetConnectionsgetCoreCellgetDescendantsgetDirectedEdgeCountgetEdgeAtgetEdgeCountgetEdgeIndexgetEdgesgetGeneralPurposeVariablegetGeometrygetIdgetIncomingEdgesgetIndexgetNearestCommonAncestorgetNextLayerConnectedCellsgetOrigingetOutgoingEdgesgetParentgetPreviousLayerConnectedCellsgetRootgetStylegetTerminalgetValuegetXhasAttributeinsertinsertEdgeinvertisAncestorisCollapsedisConnectableisEdgeisVertexisVisibleremoveremoveEdgeremoveFromParentremoveFromTerminalsetAttributesetCollapsedsetConnectablesetEdgesetGeneralPurposeVariablesetGeometrysetIdsetParentsetStylesetTerminalsetValuesetVertexsetVisiblesetXsetYvalueChanged
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.