Altered GraphRenderer.js