code: function(canvas, node, controller) {
        var ctx = canvas.getCtx();
        var pos = node.pos.getc(true);
  
        ctx.font = node.getLabelData('style') + ' ' + node.getLabelData('size') + 'px ' + node.getLabelData('family');
        ctx.textAlign = node.getLabelData('textAlign');
        ctx.fillStyle = ctx.strokeStyle = node.getLabelData('color');
        ctx.textBaseline = node.getLabelData('textBaseline');
  
        this.renderLabel(canvas, node, controller);
      }
docs: /*
  Method: plotLabel
  
  Plots a label for a given node.
  
  Parameters:
  
  canvas - (object) A <Canvas> instance.
  node - (object) A <Graph.Node>.
  controller - (object) A configuration object.
  
  Example:
  
  (start code js)
  var viz = new $jit.Viz(options);
  var node = viz.graph.getNode('nodeId');
  viz.labels.plotLabel(viz.canvas, node, viz.config);
  (end code)