Remove unnecessary imports
Add useful debug method.
More improvements.
Make the Graph2D analyzer test much better.

TODO: Directed/Reversed tests