groupTemplate position changes after adding nodes

You haven’t set Group.layout at all. So you get an instance of plain Layout, over which you have no control at all. Use something else.

Trying to understand. Right now I am using, layout: new PositionLayout(). Do I need to change this to the required layout? Where to do I change each group layout?

No, your app needs to use a PositionLayout as the Diagram.layout. For the Group.layout, which like all other Group properties you set or bind in the group template, you can use whatever layout you like.

If the size of a group grows, your PositionLayout implementation might need to become smarter in order to produce the overall results that you want.

Got it. Thanks.

A post was split to a new topic: Different position for link labels