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 21 forks source link

Spouses from different generations are duplicated #13

Closed Zowiezo101 closed 2 years ago

Zowiezo101 commented 2 years ago

I'm using this library for a complicated family tree and I noticed it's having an issue with spouses that are from different generations. It's duplicating everything on both spouses instead of one single tree..

I've attached an image that shows what I mean, and the following link is a Google drive link to the json example data for spouses from different generations: https://drive.google.com/file/d/13_lfSDgRm5Q4OB__wGjt-K4uPJJbXyiQ/view?usp=sharing

2021-10-05

I'm not sure it's actually an issue or that I'm doing something wrong, but won't hurt to ask the creator ;).

Zowiezo101 commented 2 years ago

My appologies, it's not only for spouses from different generations, but also on the same generation.

SanichKotikov commented 2 years ago

Hi. This library does not support circular relations.