MindFusion.Diagramming for JavaScript Programmer's Guide

Graph.createEdge Method

See Also
 





Creates a new edge connecting the specified vertices and adds it to the graph.

Namespace: MindFusion.Graphs
File: Graph.js

 Syntax

JavaScript  Copy Code

function createEdge (origin, destination, [owner])

 Parameters

origin

The origin vertex.

destination

The destination vertex.

owner
Optional.

The owner of the new edge.

 Return Value

The newly created edge.

 See Also