Light High Efficiency Graph Component

Qunee Developer Guide

Group Element

Group graph element (Q.Group) contains many nodes which form a combination and can indicate equipment class, fragmentation and inclusion relation

Creates a group

Creates a group via graph.createGroup(name, x, y). The parameters are separately group name and position

**Example **

var graph = new Q.Graph("canvas");
var hello = graph.createNode("Hello", -100, -50);
var qunee = graph.createNode("Qunee", 100, 50);
var edge = graph.createEdge("Hello &&&\nQunee", hello, qunee);
var group = graph.createGroup();

Operation effect

Group Background ImageGroup Style