rebuildEditorBar() {

    this.removeChildDomNodes();

    // register dialog variables

    const { view } = this;
    const unicodeBtnClass = 'tmap-unicode-button';
    const activeUnicodeBtnClass = `${unicodeBtnClass} tmap-active-button`;
    const variables = {
      widgetQualifier: this.getStateQualifier(),
      widgetTempPath: this.widgetTempPath,
      widgetPopupsPath: this.widgetPopupsPath,
      isViewBound: String(this.isViewBound()),
      viewRoot: view.getRoot(),
      viewLabel: view.getLabel(),
      viewHolder: this.getViewHolderRef(),
      edgeTypeFilter: view.edgeTypeFilterTRef,
      allEdgesFilter: $tm.selector.allEdgeTypes,
      isShowNeighbourhood: String(view.isEnabled('neighbourhood_scope')),
      tracingBtnClass: view.isEnabled('neighbourhood_trace_clicks') ? activeUnicodeBtnClass : unicodeBtnClass,
      neighScopeBtnClass: view.isEnabled('neighbourhood_scope') ? activeUnicodeBtnClass : unicodeBtnClass,
      rasterMenuBtnClass: view.isEnabled('raster') ? activeUnicodeBtnClass : unicodeBtnClass,
    };

    for (let name in variables) {
      this.setVariable(name, variables[name]);
    }

    // Construct the child widget tree
    const body = utils.getTiddlerNode(view.getRoot());

    if (this.editorMode === 'advanced') {

      body.children.push(utils.getTranscludeNode($tm.ref.graphBar));

    } else {

      const el = utils.getElementNode('span', 'tmap-view-label', view.getLabel());
      body.children.push(el);

    }

    body.children.push(utils.getTranscludeNode($tm.ref.focusButton));

    this.makeChildWidgets([ body ]);
    this.renderChildren(this.graphBarDomNode, this.graphBarDomNode.firstChild);

  }
The editor bar contains a bunch of widgets that allow the user
to manipulate the current view.

Attention: The Editor bar needs to render *after* the graph
because some elements depend on the graph's nodes which are
calculated when the network is created.

@see https://groups.google.com/forum/#!topic/tiddlywikidev/sJrblP4A0o4
@see blob/master/editions/test/tiddlers/tests/test-wikitext-parser.js