graph-like API system for node.js