_updateState() {
    this._addMissingEdges();
    this._removeInvalidEdges();
  }
There is no direct relation between the nodes and the edges DataSet,
so the right place to do call this is in the handler for event `_dataUpdated`.