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


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