Merged SimpleDigraph type into this module