arcdiagram
arcdiagram copied to clipboard
Continuous color gradient instead of discrete palette?
I would like to be able to color code the nodes and edges based on a continuous palette rather than a color for every value. Do you have any advice for how to go about that?
Ah, may have figured out a hack by passing in the color values calculated from a continuous palette.
relations$col <- heat.colors(10,rev = T)[as.numeric(cut(log(relations$total),breaks = 10))]