ShammyLevva / FTAnalyzer

Family Tree Analyzer - Finds hidden details in your family tree. Install at
http://www.ftanalyzer.com/install
Apache License 2.0
56 stars 23 forks source link

Add a column to the Individuals list that indicates the distance to the root person #271

Open RonaldHalmen opened 1 year ago

RonaldHalmen commented 1 year ago

Is your feature request related to a problem? Please describe. This feature request refers to the Main Lists --> Individuals overview. Currently, there is a column called "Relation" that can contain the following values:

While this is quality information, it doesn't tell whether an individual is a close or a remote relative to the root person.

Describe the solution you'd like Add a new column called "Distance" or "Steps" that indicates the minimum number of steps that is needed to reach the root person in the family tree. In this context, a person is one step away from its parents, siblings, spouses and children. From a graph theory perspective, one would have to calculate the minimum number of edges between the root vertex and the other vertices (with "0" as trivial distance of the root vertex itself).

Describe alternatives you've considered This concept is already implemented in the "Relationship Report" of the Family Tree Builder software, see https://d.mhcache.com/FP/FamilyTreeBuilder/UserGuide80_EN.pdf (page 347) and the highlighted column in the screenshot attached. However, with that software it is not possible to export the corresponding values to a table-like or Excel-compatible format.

Additional context FTB Relation

RonaldHalmen commented 1 year ago

The TNG Relate mod https://tng.lythgoes.net/wiki/index.php?title=Relate_mod does a similar calculation but its purpose is focused on making the intermediate vertices transparent rather than coming up with the statistics.