code: function(node, settings) {
        var prefix = settings('prefix') || '',
            size = node[prefix + 'size'],
            text = document.createElementNS(settings('xmlns'), 'text');
  
        var fontSize = (settings('labelSize') === 'fixed') ?
          settings('defaultLabelSize') :
          settings('labelSizeRatio') * size;
  
        var fontColor = (settings('labelColor') === 'node') ?
          (node.color || settings('defaultNodeColor')) :
          settings('defaultLabelColor');
  
        text.setAttributeNS(null, 'data-label-target', node.id);
        text.setAttributeNS(null, 'class', settings('classPrefix') + '-label');
        text.setAttributeNS(null, 'font-size', fontSize);
        text.setAttributeNS(null, 'font-family', settings('font'));
        text.setAttributeNS(null, 'fill', fontColor);
  
        text.innerHTML = node.label;
        text.textContent = node.label;
  
        return text;
      }
docs: SVG Element creation.
  
  @param  {object}                   node       The node object.
  @param  {configurable}             settings   The settings function.