Ungroupable is not working

Hi. I use next group template

$(
      go.Group,
      'Spot',
      {
        layerName: 'PH',
        ungroupable: true,
        locationSpot: go.Spot.Center,
        selectionObjectName: 'PH',
        resizeObjectName: 'PH',
        locationObjectName: 'PH',
        // computesBoundsAfterDrag: false,
        // computesBoundsIncludingLocation: false,
        // handlesDragDropForMembers: true,
        // avoidable: false,
        // resizable: true,

        mouseDragEnter(e, group) {
          group.isHighlighted = true;
        },
        mouseDragLeave(e, group) {
          group.isHighlighted = false;
        },
        mouseDrop(e, grp) {
          const isOkAppending = grp.addMembers(grp.diagram.selection, true);
          if (!isOkAppending) grp.diagram.currentTool.doCancel();
        },
      },
      makeTwoWaySubBinding('location', 'location', 'diagramSettings', go.Point.parse, go.Point.stringify),
      makeTwoWaySubBinding('zOrder', 'zOrder', 'graphSettings'),

      $(
        go.Panel,
        'Auto',
        {
          name: 'BODY',
        },
        $(
          go.Shape,
          {
            name: 'PH',
            parameter1: 10,
            strokeWidth: 2,
            opacity: 0.9,
            cursor: 'pointer',
            fromSpot: go.Spot.AllSides,
            toSpot: go.Spot.AllSides,
          },

          new go.Binding('fill', 'graphSettings', ObjectExtractor.getFillColor),
          new go.Binding('stroke', 'graphSettings', ObjectExtractor.getStrokeColor),
          new go.Binding('strokeWidth', 'graphSettings', ObjectExtractor.getStrokeWidth),
          new go.Binding('strokeDashArray', 'graphSettings', ObjectExtractor.isDashedGroupStroke),
        ),
        $(
          go.Placeholder,
          {
            background: 'transparent',
          },
          new go.Binding('margin', 'graphSettings', ObjectExtractor.renderGroupPlaceholderMargin),
        ),

        $(
          go.TextBlock,
          {
            alignment: go.Spot.TopLeft,
            alignmentFocus: go.Spot.TopLeft,
            editable: true,
            background: 'rgba(0, 0, 0, 0)',
            margin: new go.Margin(3, 0, 0, 7),
          },
          new go.Binding('text', 'showedText').makeTwoWay(),
          new go.Binding('font', 'graphSettings', ObjectExtractor.renderFont),
          new go.Binding('isUnderline', 'graphSettings', ObjectExtractor.isDashedStroke),
          new go.Binding('stroke', 'graphSettings', ObjectExtractor.getFontColor),
        ),
      ),
    )
  );

ctrl+g is grouping node, but ctrl+shift+g is not working. Why does not ungrouping work?

I found resolve. I redefine “commandHandler.ungroupSelection”

Since you set Group.ungroupable to true it should have just worked. Had you overridden the ungroupSelection command so that it no longer works in your situation?

If I overrridden ungroupSelection command ungrouping is not working. Can you send me example any overrridden function?

Why do you want to override the command?

I wanna add handler to copy links between nodes and the group to nodes and nodes of the group.

If I were doing that, I would reconnect those links before calling the super method.