How can I plot line with a color gradient instead of a solid color?

*To*: mathgroup at smc.vnet.net*Subject*: [mg127155] How can I plot line with a color gradient instead of a solid color?*From*: MoEgypt <muhammad.abuzaid at gmail.com>*Date*: Mon, 2 Jul 2012 22:18:25 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com

How can I change the 'RED' color below to a gradient instead? (a RedBlue gradient for example) ------------------------ LayeredGraphPlot[{1 -> 2, 1 -> 3}, EdgeRenderingFunction -> ({Red, Arrow[#1, 0.1]} &)] ------------------------