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

Add Ability To Only Display Current Branch #50

Open
newhavengill opened this issue Sep 1, 2013 · 2 comments
Open

Add Ability To Only Display Current Branch #50

newhavengill opened this issue Sep 1, 2013 · 2 comments

Comments

@newhavengill
Copy link

When displaying a large tree (i.e. many nodes) the usefulness of the app slips a bit. A user has to use the scroll bars to move left/right and up/down.

Currently I have the following set up locally:

  1. Every node is collapsed by default.
  2. IgnoreWhite space is the default (@gdott9, Issue Add an option to ignore space used by collapsed nodes #35, Pull Request pending).
  3. I'm pulling in data via json feed via dataObject (@goldenhooves, Issue Added option to pass in javascript object. #24, Pull Request pending). This json was a little funky at first but I have it working.

The 3 steps above have help considerably but how can I improve the user experience if I have many nodes? I think the easiest solution would be to only allow the nodes of the current branch to be expanded. All other nodes will collapse. It's not perfect but I think at the very least, having the ability to only display the current branch is a nice feature.

@selvamani-subramani
Copy link

Yeah you can add many nodes from some other list. https://github.com/sselvamani22/jOrgChart

@dabeng
Copy link

dabeng commented May 28, 2016

Hi @newhavengill , you can use OrgChart plugin to improve the usability. It provides on-demand loading data, expand/collapse the nodes with 4 direction buttons and allows users to pan and zoomin/zoomout chart. 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