Skip to content

CP-25569: All properties (A, R, G, B) in GraphvizColor class gets color from a field #146

Open

Description

@fubar-coder

From unknown CodePlex user on Friday, 20 June 2014 17:26:02

Code from GraphvizColor.cs:

        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; } }

change it to:

        public byte A { get { return this.a; } }
        public byte R { get { return this.r; } }
        public byte G { get { return this.g; } }
        public byte B { get { return this.b; } }

Activity

  1. fubar-coder commented on Jun 12, 2018

    @fubar-coder
    ContributorAuthor

    Form unknown CodePlex user on Thursday, 04 February 2016 13:48:02

    I just got hit by this one. It's a no-brainer, any reason why it hasn't been fixed? Is anyone actively maintaining this project?

  2. fubar-coder commented on Jun 12, 2018

    @fubar-coder
    ContributorAuthor

    Form unknown CodePlex user on Friday, 05 February 2016 02:21:54

    Another issue with this: it seems that these colors are formatted as "#RRGGBBAA" in the generated .dot file, but from what I can tell, Graphviz doesn't understand the "AA" part, so it doesn't render the color. I tweaked it to format the colors as "#RRGGBB" (as well as fixing the original bug described above) and it started working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions