Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make the Node which has no child closer to Parrent? #65

Open
dungla2011 opened this issue Apr 17, 2015 · 3 comments
Open

How to make the Node which has no child closer to Parrent? #65

dungla2011 opened this issue Apr 17, 2015 · 3 comments

Comments

@dungla2011
Copy link

Please see the image
Thank you much!

01

@dungla2011
Copy link
Author

Any idea?

@navido
Copy link

navido commented May 26, 2015

+1

@dabeng
Copy link

dabeng commented May 8, 2016

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.
left2right
Good luck! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants