How to Group the links and draw an ellipse around the links

I have a requirement of drawing multiple links between same two nodes. And I should be able to draw an ellipse around these links at the center.

Something similar to the picture attached from my wireframe.

Can you please guide me on how to achieve this using GoJSEllipseBetweenLinks ?

For the first requirement:
For the second requirement:
The code for each is in each page. You will need to combine the features.