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