code: 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>'
        );
  }
docs: Add status bar to a vertex node
  @param node {SVG DOM element} Vertex node
  @param d {VertexDataNode}