Looking from appearance, each graph is comprised of one main part and several children components. The node is defaulted to demonstrate one icon and text. The icon here is the main part of node, and one path for the main part of edge.
Mount child component
Except default graphic element, more child components may be mounted by the method of node.name = ‘qunee’. Each component can indicate specific information. Connect the graphic property and the child component, to realize the interactive effect of data
#addUI - add child components
Adds the text label to the node. And bundle contents and font color of label in this text with node user
property. Change the content and color by changing node properties
Extend UI component
Realize rich effect by extension of child component, such as customizing one bar graph, mounted to a node, indicating CPU occupation ratio, or mounted to the status of warning and bubbling marked node.