Gradient on GoSubGraph

How can I draw gradient on the GoSubGraph?

You can override GoSubGraph.PaintDecoration to paint whatever you want. Normally PaintDecoration paints a rounded rectangle with bounds returned by ComputeBorder.