addon/utils/graph-view.js
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;
  }
}
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;
  }
}
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 ; } }
Populates the calling node with the required content.
@param s {DataNode}
Populates the calling node with the required content .