inspired by neo4j.
store only node id,no properties/attributes,etc. is stored.
a monadic interface
o(k) (locally constant) to find neighbour node
add,modify,delete node and edge
aeson (run : cabal install aeson) , for serialization
Load into ghci,then
create node :
runGdb $ createModifyNode (node..)
create edge from nodeid 0 to nodeid 12 :
runGdb $ createModifyEdgeT $ Edge Nothing (Just 0) (Just 12) "" 0
Integration with a external key-value db to store extra information for node and edge