Skip to content

Override Vertex Id Mapping #205

@tdashworth

Description

@tdashworth

I see the following code in QuickGraph.Graphviz.GraphvizAlgorithm.Generate which defines the id used for each vertex:

int i = 0;
foreach (TVertex v in this.VisitedGraph.Vertices)
    this.vertexIds.Add(v, i++);

It would be nice to be able to override the default 1, 2, 3, n to maybe something defined in TVertex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions