Bugfix in caching and graphdata creation, it now works :D
Removed console.log calls.