jOrgChart
jOrgChart copied to clipboard
How to make the Node which has no child closer to Parrent?
Please see the image Thank you much!
Any idea?
+1
Hi @dungla2011 @navido . I think this demand will conflict with the core idea of jOrgChart that is making use of html table tag to build up orgchart, one td contains one node. If you were to reduce the distance between two sibling nodes according to your thought, the table layout will be destroyed.
While, I got another solution based on OrgChart(you can regard it as 2nd-generation of jOrgChart). With the help of option "direction", we can get a horizontal orgchart. On that moment, node which has no child will be closer to its parent. This is the demo . The following is a snapshot.
Good luck! :blush: