The example GradientColorLink class uses a Pen that draws with a color that changes gradually from one color to another. This screenshot shows a number of GoBasicNodes whose Texts name the Color used to fill their Shapes. They are connected by GradientColorLinks whose FromColor and ToColor match the color of the nodes to which they are connected.