Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fubar-coder opened this issue Jun 11, 2018 · 2 comments

Comments

@fubar-coder
Copy link
Contributor

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; } }
@fubar-coder
Copy link
Contributor Author

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?

@fubar-coder
Copy link
Contributor Author

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
Projects
None yet
Development

No branches or pull requests

1 participant