$("#" + v).css("top", marginTop + (g.node(v).y - ($("#" + v).height() / 2)) + "px");