NodeAddedEvent

Class NodeAddedEvent

NODE_ADDED

Hierarchy

Constructors

  • The NODE_ADDED event occurs if a Node has been added.

    Parameters

    • targetNodeID: number

      The ID of the target Node.

    • parentNodeID: number

      The ID of the parent Node.

    • nodeType: NodeType
    • dataUri: string

      The data URI of the target Node.

    • targetNodeDepth: number

      The depth of the target Node.

    • label: string

      The label of the target Node.

    • Optional properties: {
          [key: string]: any;
      }

      A map of all properties on the Node.

      • [key: string]: any
    • Optional usage: UsageString

      The usage of the target Node.

    • Optional subType: string
    • Optional contentType: string

    Returns NodeAddedEvent

Properties

contentType?: string
dataUri: string

The data URI of the target Node.

id: number
label: string

The label of the target Node.

nodeType: NodeType
parentNodeID: number

The ID of the parent Node.

properties?: {
    [key: string]: any;
}

A map of all properties on the Node.

Type declaration

  • [key: string]: any
subType?: string
targetNodeDepth: number

The depth of the target Node.

targetNodeID: number

The ID of the target Node.

transactionCode?: string
transactionID?: number
type?: EventType
usage?: UsageString

The usage of the target Node.