Gramps 6.0.5 under Fedora 42, KDE desktop
Disconnected subtrees have been discussed in this question or that one..
I harvested quite large in old parish records and got several “islands” in my database. I want to study visually the relationship opportunities by drawing Family Line graphs.
I order to do this I need to know how many islands there are and to enumerate members of these islands. This is a traditional graph problem but, since records are stored in a database, I fear a serious performance problem in Gramps with a traversal-and-mark algorithm.
I can easily get all people not related to my “main” branch by using a relational filter “People connected to root person”, applying NOT operator. But this gives me a grouped list of all other people outside the main branch without subdividing them into separate islands.
My first requirement is to compute the number of “islands”.
My second requirement is to identify which persons and families are members of the nth island. Every person and family would have an Attribute IslandNo containing the number or ID for its island (perhaps a shared Attribute to facilitate later retrieval).
How can I do it with efficiency?
Once this is in place, I want to draw a Family Line graph per island. How can I designate the collection of People of Interest based on the attribute or other property?