Skip to content

Hybrid(horizontal + vertical) OrgChart #61

@gupta-abhi26

Description

@gupta-abhi26

I want to have horizontal(direction:'t2b') layout only till 2nd depth of nodes. After that, i want the succeeding nodes in vertical(direction:'l2r') layout. How to do this ?

Activity

changed the title [-]Horizontal + vertical OrgChart[/-] [+]Hybrid(horizontal + vertical) OrgChart[/+] on Aug 30, 2016
dabeng

dabeng commented on Aug 30, 2016

@dabeng
Owner

Yes, I'm working on this feature. In fact, your demand is similar to this issue.

dabeng

dabeng commented on Sep 7, 2016

@dabeng
Owner

Hi @Destructrix .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

reopened this on Sep 7, 2016
gupta-abhi26

gupta-abhi26 commented on Sep 13, 2016

@gupta-abhi26
Author

Hi @dabeng, Thanks for the help. Truly appreciate your work.

MarcusPhan

MarcusPhan commented on Nov 19, 2021

@MarcusPhan

Hi @dabeng,

I want to display the last 3 nodes in React, here is the image
image

You stated that from only version 1.2.0, verticalDepth can be used to solve this problem. However, I run "npm i @dabeng/react-orgchart verion", and it turns out to be only 1.0.0
image
image

I tried to update the version, but it just does not work. Could you please give me some insights into this problem, or suggest me other solutions?

Many thanks!

springgrass11

springgrass11 commented on Feb 22, 2022

@springgrass11

Hi @dabeng,
Is there a way to mix the vertical and horizontal different level instead for multi levels? and within different children?
Thanks!

SlimGary

SlimGary commented on Mar 21, 2024

@SlimGary

Hi @Destructrix .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.

Did you manage to install version 1.2.0 with react ?

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

        Participants

        @dabeng@gupta-abhi26@SlimGary@springgrass11@MarcusPhan

        Issue actions

          Hybrid(horizontal + vertical) OrgChart · Issue #61 · dabeng/OrgChart