BALKANGraph / FamilyTreeJS

Build family tree app with BALKAN FamilyTreeJS library. Family Tree also called a genealogy or a pedigree chart, is a chart representing family relationships in a conventional tree structure.
60 stars 17 forks source link

V2 and parents question #135

Open rctneil opened 2 months ago

rctneil commented 2 months ago

I see that version 2 is showing up. Is there any documentation for it so we know how it works?

Also, is there a way to be able to specify just "parents" rather than "mother id" and "father id". In the case of my app, it doesn't really matter, we just need to know that Person A is the Parent of Person B and C. Surely if we want that, we can add the gender option to denote that. Surely parents should be an array of id's just like partners are?

ZornitsaPesheva commented 2 months ago

We don't have any documentation yet as the product is still under development.

rctneil commented 2 months ago

Weird, especially as V2 is the latest version to be used according to https://www.npmjs.com/package/@balkangraph/familytree.js

What about the parents question I asked?

ZornitsaPesheva commented 2 months ago

I thought you were asking for the new implementation of FamilyTree JS. The current documentation is actual for the current implementation. You cannot specify just parents.