Refactor interactive.js to not use currentGraph

Auditors: eater