Something like:
Node newNode = Guess.getGraph().addNode("newnodename");
> --
> You received this message because you are subscribed to the Google Groups "guess-discuss" group.
> To post to this group, send email to guess-...@googlegroups.com.
> To unsubscribe from this group, send email to guess-discus...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/guess-discuss?hl=en.
>
>
g.addNode("foo")
foo.color = red
Are you trying to write your expansion in Java or Gython?
-E