Graph dependencies

Fixes #4.