added continuous-valued red-black color gradient for edges