code: function(force) {
        for(var id in this.labels) {
          if (force || !this.viz.graph.hasNode(id)) {
            this.disposeLabel(id);
            delete this.labels[id];
          }
        }
      }
docs: /*
  Method: clearLabels
  
  Clears the label container.
  
  Useful when using a new visualization with the same canvas element/widget.
  
  Parameters:
  
  force - (boolean) Forces deletion of all labels.
  
  Example:
  (start code js)
  var viz = new $jit.Viz(options);
  viz.labels.clearLabels();
  (end code)