syzer / canviz

Automatically exported from code.google.com/p/canviz
0 stars 0 forks source link

Support the colorscheme attribute #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It's possible to change the current color scheme by using the colorscheme 
attribute.

http://www.graphviz.org/doc/info/attrs.html#d:colorscheme

But it's tricky to do with the way Canviz is currently written, because in the 
parse() method it just 
gathers draw commands, but the color names in the draw commands depend on 
knowing the 
current color scheme, which is not encoded into the draw commands and 
furthermore can be 
different for nodes, edges, clusters, and the graph.

This is related to issue #2 and issue #3 (which will both be much easier to 
implement than this).

Original issue reported on code.google.com by ryandesi...@gmail.com on 6 Oct 2008 at 4:29

GoogleCodeExporter commented 9 years ago

Original comment by ryandesi...@gmail.com on 6 Oct 2008 at 4:29

GoogleCodeExporter commented 9 years ago
It has taken a lot of code shuffling, but I'm pleased to say the colorscheme 
attribute is now supported as of r193.

Original comment by ryandesi...@gmail.com on 1 Nov 2008 at 7:13