Creates a new DiagramLink instance between the specified nodes and adds it to the links collection of the underlying diagram.
Namespace: MindFusion.Diagramming
Package: 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.
NetDiagram Programmer's Guide | © 2023 MindFusion |