moved graph to index.html, added some transition animation, refactored graph and fixed diff path.
fixes #310