NodeAddedEvent¶
Class NodeAddedEvent
Hierarchy (View Summary)
- WebVisEvent
- NodeAddedEvent
Index
Constructors
Properties
Constructors
constructor
- new NodeAddedEvent(
targetNodeID: number,
parentNodeID: number,
nodeType: NodeType,
dataUri: string,
targetNodeDepth: number,
label: string,
properties?: { [key: string]: any },
usage?: UsageString,
subType?: string,
contentType?: string,
): NodeAddedEvent 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.
Optional
usage: UsageStringThe usage of the target Node.
Optional
subType: stringOptional
contentType: string
Returns NodeAddedEvent
- targetNodeID: number
Properties
Optional
content Type
contentType?: string
data Uri
dataUri: string
The data URI of the target Node.
id
id: number
label
label: string
The label of the target Node.
node Type
parent NodeID
parentNodeID: number
The ID of the parent Node.
Optional
properties
properties?: { [key: string]: any }
A map of all properties on the Node.
Optional
sub Type
subType?: string
target Node Depth
targetNodeDepth: number
The depth of the target Node.
target NodeID
targetNodeID: number
The ID of the target Node.
Optional
transaction Code
transactionCode?: string
Optional
transactionID
transactionID?: number
Optional
type
Optional
usage
The usage of the target Node.
NODE_ADDED