Auar / flexvizgraphlib

Automatically exported from code.google.com/p/flexvizgraphlib
0 stars 0 forks source link

How to create a new node manually? #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi,

Some days before, I wrote an email to you. Thank you for your help. I can 
run the demo.

Now, I want to create a new node manually, not through the xml 
configuration.

// the following is my code, a button triggers the function
private function createNewNode():void {
  var node:IVisualNode = vgraph.createNode("newnodesid",null);
  vgraph.draw();
}

but the function will launch an error.

Can you show me how to create a new node manually?

Original issue reported on code.google.com by chendong...@gmail.com on 13 Sep 2007 at 6:45

GoogleCodeExporter commented 9 years ago
Hi, you might consider joining the Google Group for this project where we can 
address
questions and support your development efforts.  Please use the Groups:  * 
Visual
Graph Support link from the home page.

Original comment by jbell...@unog.ch on 14 Sep 2007 at 8:51

GoogleCodeExporter commented 9 years ago
I believe this is still an issue. There are some design decisions that need to 
be
made. Right now editing is not really enabled, because the Layouters are 
supposed to
layout after each change. However, only trees are currently supported with the
layouters leading to crashed when one adds or removes nodes that break the tree
structure.
This requires a more general change....

Original comment by spo...@gmail.com on 21 Mar 2008 at 3:22