Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001420graphvizOtherpublic2008-09-22 00:002011-04-28 04:03
ReporterRyan Schmidt2 
Assigned Toerg 
PlatformOS*-*-*OS Version
Summary0001420: Translate color values in xdot

Is there a way we could have Graphviz replace color names with color values (in any format) in xdot output, either always or with a new flag?
Additional Information
[north] I wonder if there is any harm in canonicalizing the color values in xdot.
(This could be made dependent on another attribute setting so we don't
tamper with any backward compatible code, which we probably do have.)

Ryan, do you know about the compatibility of canviz with various versions
of client browsers? (I tried MSIE 7 and 8 and got funny results.)

[ryan] I want to support IE, which is why canviz includes the excanvas library. However IE support doesn't work yet (IE 6 and 7: graph but no text; IE 8: text but no graph), and I don't have IE to test with. I will load the canviz code into a Google Code project in the next few days, and start populating the issue tracker with the known issues, and then hopefully get to work on fixing them. A discussion list is already set up if you have interest in joining.

I'm working on some code that will allow color names in the graphs to come from the union of one or more source schemes,
and the color_names in the output format to come from a target scheme, not necessarily in the source schemes, or if the color
doesn't exist as a named color in the target scheme, revert to a numeric coding (rgba, hsv, ...).

This will solve some problems with using named colors in -Tsvg and -Ttk outputs, where the color schemes don't match x11 colors.
It will better support the rule of same output in all renderers. (currently for example, "yellow" is different in svg outputs.)

For xdot, probably the target scheme should be "x11" ? Or would you prefer always rgb values?

For the purposes of canviz I would prefer always RGB (or any other numeric) color values, so that I don't have to transfer the color lookup table to the user's browser.

TagsNo tags attached.
STATUS-COMMENT Fixed (7 Nov 2008)
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => erg

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker