Implement Index and IndexMut trais for Graph and Path (and other graph wrappers if new are implemented before this is done).
These operations should be implemented both for vertex index and edge index types, so it is possible to get a vertex data by indexing with vertex index and edge data by edge index.
This is not going to be straightforward, because since the implementation of generic indices (issue #17, PR #19), the compiler can't guarantee that vertex index and edge index are different types.
Implement
Index
andIndexMut
trais forGraph
andPath
(and other graph wrappers if new are implemented before this is done).These operations should be implemented both for vertex index and edge index types, so it is possible to get a vertex data by indexing with vertex index and edge data by edge index.