FubarDevelopment / QuickGraph

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

CP-22051: GraphvizEdge.ToDot() wrong graphviz properties #125

Open fubar-coder opened 6 years ago

fubar-coder commented 6 years ago

From unknown CodePlex user on Wednesday, 11 January 2012 16:11:10

Mappings for FontGraphvizColor and StrokeGraphvizColor are wrong, so it is impossible to change edge stroke and font color.   Replacement: fontGraphvizColor → fontcolor GraphvizColor → color   Seems like URL property is also invalid (http://www.graphviz.org/doc/info/attrs.html).

fubar-coder commented 6 years ago

Form unknown CodePlex user on Wednesday, 08 July 2015 10:32:08

Also,

bgGraphvizColor → fillcolor
fubar-coder commented 6 years ago

Form unknown CodePlex user on Wednesday, 08 July 2015 11:21:33

And then there's:

public struct GraphvizColor : IEquatable<GraphvizColor>
  {
    private readonly byte a;
    private readonly byte r;
    private readonly byte g;
    private readonly byte b;

    public byte A
    {
      get
      {
        return this.a;
      }
    }

    public byte R
    {
      get
      {
        return this.a;
      }
    }

    public byte G
    {
      get
      {
        return this.a;
      }
    }

    public byte B
    {
      get
      {
        return this.a;
      }
    }
...