Creates a new edge connecting the specified vertices and adds it to the graph.
Namespace: MindFusion.Graphs
Package: Graph.js
JavaScript Copy Code |
---|
function createEdge (origin, destination, [owner]) |
The origin vertex.
The destination vertex.
The owner of the new edge.
Type: Edge
The newly created edge.