ASP.NET Pack 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
Package: 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

Type: Edge
The newly created edge.

 See Also

Graph Members
Graph Class
MindFusion.Graphs Namespace