Yes, for listing all node attributes you can do issue this command in
the console:
g.getNodeSchema().fieldNames()
>
> Also, will script be able to add new "attribute"? I know it can add
> new node. Thanks!
You can check the following methods to create new fields for nodes and edges:
g.addNodeField(name, type, defaultValue)
g.addEdgeField(name, type, defaultValue)
See morte at http://guess.wikispot.org/Modifying_graphs
--
Gutemberg