NodeAddedEvent#
Class NodeAddedEvent
Hierarchy
- WebVisEvent
- NodeAddedEvent
Index
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: 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: UsageStringThe usage of the target Node.
-
Optional
subType: string -
Optional
contentType: string
Returns NodeAddedEvent
-
Properties
Optional
content Type
content Type?: string
data Uri
data Uri: string
The data URI of the target Node.
id
id: number
label
label: string
The label of the target Node.
node Type
parent NodeID
parent NodeID: number
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 Type
sub Type?: string
target Node Depth
target Node Depth: number
The depth of the target Node.
target NodeID
target NodeID: number
The ID of the target Node.
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
Optional
usage
The usage of the target Node.
NODE_ADDED