Integrate responsiveness

Refactor graph drawing to allow for responsive redrawing.
tidy links