     }
      }
    }

    if (model instanceof go.GraphLinksModel) {
      const ldata = myWholeModel.linkDataArray;
      for (let i = 0; i < ldata.length; i++) {
        const l = ldata[i];
        const fromkey = myWholeModel.getFromKeyForLinkData(l);
        if (fromkey === undefined) continue;
        const from = myWholeModel.findNodeDataForKey(fromkey);
        if (from === null || !from.bounds) continue;

        const tokey = myWholeModel.getToKeyForLinkData(l);
        if (tokey === undefined) con