code: function _addContent(d) {
    var node = d3.select(this);
  
    switch(d.type) {
      case 'vertex':
        _addBasicContents(node, d, 'vertexName');
        _addStatusBar(node, d);
        _addTaskBubble(node, d);
        _addIOBubble(node, d);
        _addVertexGroupBubble(node, d);
      break;
      case 'input':
      case 'output':
        _addBasicContents(node, d);
      break;
    }
  }
docs: Populates the calling node with the required content.
  @param s {DataNode}