Gradient link / Blob outline

Two questions, in one, I this possible with gojs to make a gradient link between two ports and a “blob outline” or a “rounded outline” for a group like this :

The gradient link stroke is pretty easy to implement. I’m not sure about the other request – are you saying that there is a Group with 4 orange member nodes, and you’d like to surround the members somehow? Do you have a way of characterizing that shape, or do you want me to guess?

While I’m waiting for your input about the second question, here’s the answer to the first question:
http://gojs.net/extras/GradientLink.html

Just set or bind the GradientLink.startColor and GradientLink.endColor.