Digraph library for node.js