Unable to resize group node when using ResizeMultipleTool


we have requirement to allow user to resize multiple nodes at a time, so I used ResizeMultipleTool.js. Now I am able to resize multiple nodes inside the group node, but I am facing new issue i.e. now I am not able to resize group node.

Please check bellow code pen example,

That’s because the ResizeMultipleTool is explicitly not allowing the resize of Groups. Just remove that test in ResizeMultipleTool.resize method:

  . . .
  diagram.selection.each(function(part) {
    if (part instanceof go.Link) return; // only Nodes and simple Parts
    var obj = part.resizeObject;
    . . .

It is working now after removing below highlighted code from ResizeMultipleTool.js

Thank you so much @walter.