A simple implementation of a graph database on the client side using javascript