Raised when the user draws a new node.
Namespace: MindFusion.Diagramming
Package: 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) => { |
NetDiagram Programmer's Guide | © 2023 MindFusion |