A validation event raised while the user is drawing a new link.
Namespace: MindFusion.Diagramming
File: DiagramBase.js
SyntaxJavaScript
Copy Code
|
|---|
| diagram.linkCreating.addEventListener(onLinkCreating); function onLinkCreating(sender, args) { } |
Event DataEvent handlers receive a LinkEventArgs instance containing data about this event.
ExampleThis example shows how to handle the linkCreating event to prevent cycles in the graph.
JavaScript
Copy Code
|
|---|
// assuming namespaced scripts |
See Also