SanichKotikov / relatives-tree

A tiny library for calculating specific JSON data to family tree nodes and connectors 🌳
https://sanichkotikov.github.io/react-family-tree-example/
MIT License
45 stars 20 forks source link

How to move families into available space? #23

Open vilemvicher opened 2 months ago

vilemvicher commented 2 months ago

Hi, I would like to move families closer to each other when there is a empty space between them. What I mean by this is:

How algorithm works now: image

What I would like to achieve: image

I looked at the code but was unable to achieve this. Is there even any simple way to do this? Do you plan to add this in the future?

SanichKotikov commented 2 months ago

Looks like there is the same issue https://github.com/SanichKotikov/react-family-tree/issues/23 I'm not planning any updates at this time.