de.category, text: newnode.category };
        diagram.model.addNodeData(groupdata);
        var group = diagram.findNodeForData(groupdata);
        group.containingGroup = oldlink.containingGroup;
        diagram.select(group);

        newnode.containingGroup = group;

        var enddata = { category: 'Merge' };
        diagram.model.addNodeData(enddata);
        var endnode = diagram.findNodeForData(enddata);
        endnode.containingGroup = group;
        endnode.location = e.documentPoint;

        v