I am using DefaultDirectedGraph to create my directed graph, where each vertex is an object.
DefaultDirectedGraph g = new DefaultDirectedGraph(DefaultEdge.class);
I was wondering if it is possible to characterize the edges? For example, I would like to keep the information of the friendship between students.
Or should I have a map between edges and the objects of friendship?