Gets the candidate origin node; reported to validation events.
Namespace: MindFusion.Diagramming
File: EventArgs.js
JavaScript Copy Code |
---|
get origin() {} |
DiagramNode
A DiagramNode instance.
When handling linkCreating and linkModifying validation events, origin and destination values of LinkEventArgs are generally different from link's current origin and destination. If you do not cancel the operation, the former are assigned to the latter once the user stops drawing the link.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |