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

Tree view stretched too much #23

Open
klbw opened this issue Dec 19, 2023 · 2 comments
Open

Tree view stretched too much #23

klbw opened this issue Dec 19, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@klbw
Copy link

klbw commented Dec 19, 2023

I've noticed that my oldest (top) part of the tree is super stretched - like it's trying to fit to the younger (bottom) branches containing more people (and taking more space). The older/top part of the tree is only a handful of people and I would like to see it more compressed, so the horizontal connecting lines are not stretched that far... Please see the attached file. Any ideas how to deal with this are very welcome.

tree stretched

@SanichKotikov SanichKotikov added the enhancement New feature or request label Dec 25, 2023
@klbw
Copy link
Author

klbw commented Mar 7, 2024

Dear @SanichKotikov, any chance you had time to look into this? Let me know please, any idea on how to fix it would be much appreciated! I've spent a lot of time on my tree and this is the last missing bit :)

@SanichKotikov
Copy link
Owner

Hi. You can check here https://github.com/SanichKotikov/relatives-tree/blob/master/src/children/arrange.ts#L33 how it works right now, maybe you will find a way how to update it to reduce spaces.

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

No branches or pull requests

2 participants