Creates a new DiagramLink instance between the specified nodes and adds it to the links collection of the underlying diagram.
Namespace: MindFusion.Diagramming
File: Factory.js
JavaScript Copy Code |
---|
function createDiagramLink ([origin, [destination]]) |
The newly created DiagramLink instance.
The method creates a link connecting the nodes specified by origin and destination.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |