Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 631 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 631 Bytes

Minimalistic graph database implemented in haskell

inspired by neo4j.

feature

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

dependency

aeson (run : cabal install aeson) , for serialization

usage

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

TODO

Integration with a external key-value db to store extra information for node and edge