Raised when the user draws a new node.
Namespace: MindFusion.Diagramming
File: Events.js
SyntaxJavaScript
Copy Code
|
|---|
get nodeCreated() {} |
String
A string containing the event name.
RemarksEvent handlers receive a NodeEventArgs instance as argument.
ExampleThis example handles the nodeCreated event to set new node's anchorPattern.
JavaScript
Copy Code
|
|---|
diagram.addEventListener(Events.nodeCreated, (sender, args) => { |
See Also