Skip to content

Aligning Children Vertical #46

Closed
Closed

Description

@mfahadi

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

Activity

  1. dabeng commented on Aug 16, 2016

    @dabeng
    Owner

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

  2. dabeng commented on Sep 7, 2016

    @dabeng
    Owner

    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

  3. reopened this on Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions