score:0

Accepted answer

trees are vertical by default -- it's your example which has put it sideways. lookup at the way groups' transform and paths' d attributes are built, they have their use of x and y swapped

return "translate(" + source.y0 + "," + source.x0 + ")";

Related Query

More Query from same tag