The graph component contains a graph management model. By the way the model manages the elements, each element system will generate a corresponding UI object automatically, for realizing the appearance drawing of element 

Create elements

  • #createEdge(name, from, to) → {Edge} - create edge
  • #createNode(name, x, y) → {Node} - create node