code: function _addBasicContents(node, d, titleProperty, maxTitleLength) {
    var className = d.type;
  
    node.attr('class', `node ${className}`);
    node.append('use').attr('xlink:href', `#${className}-bg`);
    translateIfIE(node.append('text')
        .attr('class', 'title')
        .text(_trimText(d.get(titleProperty || 'name'), maxTitleLength || 12)), 0, 4);
  }
docs: Creates a base SVG DOM node, with bg and title based on the type of DataNode
  @param node {SVG DOM element} Vertex node
  @param d {DataNode}
  @param titleProperty {String} d's property who's value is the title to be displayed.
  By default 'name'.
  @param maxTitleLength {Number} Title would be trimmed beyond maxTitleLength. By default 3 chars