Migrate to Networkx graphs.
Merge pull request #1 from dead10ck/master

Migrate to Networkx graphs.