Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeElement

Element representing a true higher-level Node in the graph, see documentation for more information

Hierarchy

Index

Constructors

constructor

  • new NodeElement(id: Guid, properties: Dictionary<any>): NodeElement

Properties

Protected childConnectorNeighbours

childConnectorNeighbours: Dictionary<Guid>

Protected childEdgeNeighbours

childEdgeNeighbours: Dictionary<Guid>

Protected childModelNeighbours

childModelNeighbours: Dictionary<Guid>

Protected childNodeNeighbours

childNodeNeighbours: Dictionary<Guid>

Protected id

id: Guid

Protected parentConnectorNeighbours

parentConnectorNeighbours: Dictionary<Guid>

Protected parentEdgeNeighbours

parentEdgeNeighbours: Dictionary<Guid>

Protected parentModelNeighbours

parentModelNeighbours: Dictionary<Guid>

Protected parentNodeNeighbours

parentNodeNeighbours: Dictionary<Guid>

Protected properties

properties: Dictionary<any>

Protected type

Accessors

Id

  • get Id(): Guid

Methods

addChildConnectorNeighbour

  • addChildConnectorNeighbour(id: Guid): void

addChildEdgeNeighbour

  • addChildEdgeNeighbour(id: Guid): void

addChildModelNeighbour

  • addChildModelNeighbour(id: Guid): void

addChildNodeNeighbour

  • addChildNodeNeighbour(id: Guid): void

addParentConnectorNeighbour

  • addParentConnectorNeighbour(id: Guid): void

addParentEdgeNeighbour

  • addParentEdgeNeighbour(id: Guid): void

addParentModelNeighbour

  • addParentModelNeighbour(id: Guid): void

addParentNodeNeighbour

  • addParentNodeNeighbour(id: Guid): void

delete

  • delete(graph: Graph): void

deleteProperty

  • deleteProperty(name: string): void

getChildConnectorNeighbours

  • getChildConnectorNeighbours(): Guid[]

getChildEdgeNeighbours

  • getChildEdgeNeighbours(): Guid[]

getChildModelNeighbours

  • getChildModelNeighbours(): Guid[]

getChildNodeNeighbours

  • getChildNodeNeighbours(): Guid[]

getParentConnectorNeighbours

  • getParentConnectorNeighbours(): Guid[]

getParentEdgeNeighbours

  • getParentEdgeNeighbours(): Guid[]

getParentModelNeighbours

  • getParentModelNeighbours(): Guid[]

getParentNodeNeighbours

  • getParentNodeNeighbours(): Guid[]

getProperties

  • getProperties(): Dictionary<any>

getType

Protected remove

  • remove(graph: Graph): void
  • Internal function that removes THIS element ONLY. WARNING: This function does not perform a cascading delete (i.e remove orphan edges) Use delete() instead

    Parameters

    • graph: Graph

      Graph containing this element

    Returns void

setProperty

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

unlinkChildConnectorNeighbour

  • unlinkChildConnectorNeighbour(id: Guid): void

unlinkChildEdgeNeighbour

  • unlinkChildEdgeNeighbour(id: Guid): void

unlinkChildModelNeighbour

  • unlinkChildModelNeighbour(id: Guid): void

unlinkChildNodeNeighbour

  • unlinkChildNodeNeighbour(id: Guid): void

Generated using TypeDoc