Remove canvas require

As far as I can tell, `canvas` as an official dependency is no longer needed since the context is expected to be passed into the graph. This means that this module can be browserified and used in the browser too!

Please let me know if I missed something!