tools for generative grammars and graphs (python "rewrite" of graphsynth)