NodeAddedEvent#
Class NodeAddedEvent
Hierarchy
- WebVisEvent
- NodeAddedEvent
 
Constructors
Properties
Constructors
constructor
- new Node Added Event(targetNodeID, parentNodeID, nodeType, dataUri, targetNodeDepth, label, properties?, usage?, subType?, contentType?): NodeAddedEvent 
- 
The NODE_ADDED event occurs if a Node has been added. Parameters- 
targetNodeID: numberThe ID of the target Node. 
- 
parentNodeID: numberThe ID of the parent Node. 
- 
nodeType: NodeType
- 
dataUri: stringThe data URI of the target Node. 
- 
targetNodeDepth: numberThe depth of the target Node. 
- 
label: stringThe label of the target Node. 
- 
Optionalproperties: {
 [key: string]: any;
 }A map of all properties on the Node. - 
[key: string]: any
 
- 
- 
Optionalusage: UsageStringThe usage of the target Node. 
- 
OptionalsubType: string
- 
OptionalcontentType: string
 Returns NodeAddedEvent
- 
Properties
Optional content
content
data
data
The data URI of the target Node.
id
id: number
label
label: string
The label of the target Node.
node
parent
parent
The ID of the parent Node.
Optional properties
properties?: { 
[key: string]: any;
}
[key: string]: any;
}
A map of all properties on the Node.
Type declaration
- 
[key: string]: any
Optional sub
sub
target
target
The depth of the target Node.
target
target
The ID of the target Node.
Optional transaction
transaction
Optional transactionID
transactionID?: number
Optional type
Optional usage
The usage of the target Node.
NODE_ADDED