Members
(constant) act
generate a blank doc obj [o] add a new node [o] add edge between 2 nodes [o] edit node content [] edit edge [] delete an edge [] delete a node []
(constant) annotations
how to define an annotation each annotation has __ methods
the extract method describes how to extract this annotation from a raw piece of text it must return {error:boolean, message:" if there is some error", annotation (array of the annotation objs , a modified version of the blank ann obj, array because there can be multiple same annotations in the text )}
(constant) graph
valid actions get blank document [done] add a new block in a document [done] relate one block with another edit block : modify text, modify edges [done] delete block [done] validate documentObject search query :graph text search