Light High Efficiency Graph Component
en

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();
group.addChild(hello);
group.addChild(qunee);

Operation effect

Group Background ImageGroup Style