code: function deleteNode(record: RecordProxy, nodeID: DataID): void {
    const {EDGES, NODE} = RelayConnectionInterface.get();
  
    const edges = record.getLinkedRecords(EDGES);
    if (!edges) {
      return;
    }
    let nextEdges;
    for (let ii = 0; ii < edges.length; ii++) {
      const edge = edges[ii];
      const node = edge && edge.getLinkedRecord(NODE);
      if (node != null && node.getDataID() === nodeID) {
        if (nextEdges === undefined) {
          nextEdges = edges.slice(0, ii);
        }
      } else if (nextEdges !== undefined) {
        nextEdges.push(edge);
      }
    }
    if (nextEdges !== undefined) {
      record.setLinkedRecords(nextEdges, EDGES);
    }
  }
docs: @public
  
  Remove any edges whose `node.id` matches the given id.