I need to implement a digraph(Directed graph) in c++ as part of a homework and I\'m having some issues with how to represent the vertices and edges data types. Can anybo
template class node { public: T data; vector*> edges; }
You will most likely also want to store a list*> of all the nodes.
list*>