var fo = svg.append("svg:foreignObject")
.attr("width", 100)
.attr("height", 200)
fo.append("xhtml:body")
.html("hello my name is jose how long is this??????")
.style("font", "bold 12px Arial")
fo.append("path")
.attr("transform", "translate(90,200)")
For some reason it doesnt move it at all
nodeEnter.append("svg:foreignObject").attr("width", "50").append("xhtml:body").append("svg:div").attr("class", "NODE_LABEL_DIV").append("svg:a").attr("xlink:href", function(d) { return d.hlink; }).append("text").text(function(d) { return d.name; }).attr("x", function(d) { return d.children || d._children ? horizontalNodeOffset : horizontalNodeOffsetLeaf; }).attr("dy", "-10").attr("fill", "Blue").attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; }).style("fill-opacity", 1e-6);