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

Aligning Children Vertical #46

Closed
mfahadi opened this issue Aug 11, 2016 · 2 comments
Closed

Aligning Children Vertical #46

mfahadi opened this issue Aug 11, 2016 · 2 comments

Comments

@mfahadi
Copy link

mfahadi commented Aug 11, 2016

Hi, I have used OrgChart library for a complex chart and works great. Kudos for the great work :).

But when chart gets bigger it becomes useless pretty soon, because of horizontal display of children. I could not find an option in plugin to align children vertical, under the parent.

Please see the attached image, I don't want the connecting lines for children, just alignment will fulfill my requirements.

If there is no option currently in the library, can you please guide me on how can I modify the library to achieve the effect. Thanks.
chart

@dabeng
Copy link
Owner

dabeng commented Aug 16, 2016

It's a constructive proposal. I need some time to think about a temporary solution or to expose a new option.

@dabeng
Copy link
Owner

dabeng commented Sep 7, 2016

Hi @mfahadi. From version 1.2.0, users never have to worry about how to align a huge of nodes in one screen of browser. The option "verticalDepth" allows users to align child nodes vertically from the given depth. But currently, this option is incompatible with many other options or methods, like direction, drag&drop, addChildren(), removeNodes(), getHierarchy() and so on. These conflicts will be solved one by one in the later versions.
snapshot

@dabeng dabeng closed this as completed Sep 7, 2016
@dabeng dabeng reopened this Sep 7, 2016
@dabeng dabeng closed this as completed Sep 11, 2016
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

2 participants