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
SyntaxJavaScript
Copy Code
|
|---|
function createDiagramLink ([origin, [destination]]) |
The newly created DiagramLink instance.
RemarksThe method creates a link connecting the nodes specified by origin and destination.
See Also