CFG.js Graph constructor API