repaintGraph() {

    const isInFS = $tw.utils.hasClass(this.document.body,
                                    'tmap-has-fullscreen-widget');
    if (this.network && (!isInFS || (isInFS && this.enlargedMode))) {

      this.logger('info', 'Repainting the whole graph');

      this.network.redraw();
      this.fitGraph(0, 1000);

    }

  }
The graph of this widget is only repainted if the following counts:

The network object exists (prerequisit).

1. We are not in fullscreen at all
2. This particular graph instance is currently running fullscreen.