addon/utils/graph-view.js
function _addStatusBar(node, d) {
  var group = node.append('g');
  group.attr('class', 'status-bar');

  group.append('foreignObject')
      .attr("class", "status")
      .attr("width", 70)
      .attr("height", 15)
      .html('<span class="msg-container">' +
          d.get('data.status') +
          '</span>'
      );
}
function _addStatusBar(node, d) {
  var group = node.append('g');
  group.attr('class', 'status-bar');

  group.append('foreignObject')
      .attr("class", "status")
      .attr("width", 70)
      .attr("height", 15)
      .html('<span class="msg-container">' +
          d.get('data.status') +
          '</span>'
      );
}
function _addStatusBar ( node , d ) { var group = node . append ( 'g' ) ; group . attr ( 'class' , 'status-bar' ) ; group . append ( 'foreignObject' ) . attr ( "class" , "status" ) . attr ( "width" , 70 ) . attr ( "height" , 15 ) . html ( '<span class="msg-container">' + d . get ( 'data.status' ) + '</span>' ) ; }
Add status bar to a vertex node
@param node {SVG DOM element} Vertex node
@param d {VertexDataNode}
Add status bar to a vertex node