Does Graphviz support multi-color for single edge line like this?

I am not sure if Graphviz supports multiple colors for single edge like the following URL?

Fox example, for one edge, left half is of one color and right half is another color?

http://twaver.servasoft.com/twaver%E5%BA%94%E7%94%A8/%E7%94%A8twaver-htm...

Yes, you can use a color list

Yes, you can use a color list with fractional values:

c -> d [dir=none color="green:red;0.25:blue"]

See http://www.graphviz.org/content/attrs#kcolorList for more info about color lists.

(In checking this, I found and fixed a bug, so you might want to pick up a version dated 15 February or later.)

Recent comments