coming) e.diagram.remove(incoming);
        e.diagram.model.addLinkData({ from: node.key, to: newnode.key });
      }
    })
      .bind('location')
      .add(
        new go.Shape('Rectangle', { fill: 'white' })
          // Shape.fill is bound to Node.data.color
          .bind('fill', 'color')
          // this binding changes the Shape.fill when Node.isHighlighted changes value
          .bindObject('fill', 'isHighlighted', (h, shape) => {
            if (h) return 'red';
            const c = shape.pa