QuickGraph.Graphviz.Dot.GraphvizEdge .. cannot set len attribute

Topics: graph
Jun 18, 2009 at 3:56 PM

Hi,

I'm trying to do this..

static void graphviz_FormatEdge(object sender, FormatEdgeEventArgs> 
{
    e.EdgeFormatter.FontColor = Color.RoyalBlue;
    e.EdgeFormatter.Length = 2;
}

However, I see that "Length" isn't present. I had to add..

private int length = 1;

if (this.length != 1)
{
    dic["len"] = this.length;
}

and

public int Length
{
    get
    {
        return this.length;
    }
    set
    {
        this.length = value;
     }
}

or, am I missing an alternative?

Coordinator
Jun 19, 2009 at 5:08 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.