I am using QuickGraph .NET library which is a clone for boost (C++) graph library but I have some few questions as I'm totally new to this library
1- How would I represent undirected graph in QucikGraph? I found that you can do it easily in boost using:
adjacency_list<boost::vecS, boost::vecS, boost::undirectedS> Graph;
2- How would I assign values to vertices I am interested to attach integer values to vertices but I couldn't figure out how to do this:
AdjacencyGraph graph = new AdjacencyGraph(new VertexAndEdgeProvider(), false);//I'm not sure about the proper value of this boolean
IVertex u = graph.AddVertex();// here I'm adding vertex to 'graph' but with no value
IVertex v = graph.AddVertex();// here also I'm doing the same thing but without assigning any value to vertex v
graph.AddEdge(u, v);