Light High Efficiency Graph Component
en

Qunee Developer Guide

Basic Property of Edge

Each edge shall contain two end points, start node and end node respectively. If any one node is null, this edge will be invalid. If two nodes are the same node, this edge is looped

Looped edge

For example, creates a looped edge

var a = graph.createNode("A", -100, 0);
var edge = graph.createEdge(a, a, 'looped');

Looped effect of edge