You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for using js_family_tree. I just pushed version 0.2.0, which implements a new orientation setter/getter. To get a vertical family tree, you can use it as follows:
// insert svg object to hold the family treeconstsvg=d3.select("body").append("svg").attr("width",document.body.offsetWidth).attr("height",document.documentElement.clientHeight);// make family tree objectFT=newFamilyTree(data,svg).orientation("vertical");// draw family treeFT.draw();
how can i change tree from a horizontal view to a vertical one ?
The text was updated successfully, but these errors were encountered: