FubarDevelopment / QuickGraph

Fork of https://quickgraph.codeplex.com/
Microsoft Public License
9 stars 2 forks source link

CP-25565: Allow custom names for nodes when we generate Graphviz's dot file #145

Open fubar-coder opened 6 years ago

fubar-coder commented 6 years ago

From unknown CodePlex user on Thursday, 19 June 2014 06:00:40

Just replace code

foreach (TVertex key in this.VisitedGraph.Vertices)
        this.vertexIds.Add(key, num++);

to

foreach (TVertex key in this.VisitedGraph.Vertices)
        this.vertexIds.Add(key, key.ToString());