Light High Efficiency Graph Component
en

Qunee Developer Guide

Create Node

Generally nodes are created via the following codes:

var node = graph.createNode(“node name”, 100, 100);

Nodes may also be created via the constructor

var node = new Q.Node();
node.name = “node name”;
node.x = 100;
node.y = 100;
graph.graphModel.add(node);

Set node property and style, support various vector or grid image and animation, support path and shape, support different positions and mounting points and support node rotation. Display layer can be set. Several child component can be added. Rich representation effect can be expressed from nodes.