Cleaned up POMs, added support for further graph types, fixed bugs in graph traversal