Figured out how to show informative tooltip when hovering over a “person node” in a GraphViz rendering. See calls to the “gvnote” macro (in the “macros” tiddler) in the “Footer” tiddler.
Next TODO: Now that it looks like “forward-generating” of a family tree works, I want to setup “backward-generating” of a family tree.
For example, great to know the “forward-generation” of King Charles III family tree (I.e. descendants), I want the tree to show King Charles III’s ancestors (on both the father’s side and the mother’s side),
This first attempt (the goods are hiding in the “Footer” tiddler) gets the relationship that conceived King Charles III:
By focusing on the relationship between King Charles III and Diana Spencer, we get to see the genealogical tree of both Prince William and Prince Harry.
Focused on King Charles III ancestry up to and including his great-great grandparents, I’m satisfied with the basic data entry and the family tree graphics, and also with TW navigation.
People and Marriages can be found (via simple filters) via the People and via the Marriages SideBar tabs. Filtering ought to be done with only 1 name/word, not to reduce the list down to one person/marriage, but rather to shorten the list enough to make a person/marriage easy to find.
I’m now using it to create my own family tree, and I’m making some tweaks to my personal TW instance and, as I truck along, copying those tweaks over to this public prototype.
A relationship (marriage, affair, common law …) is between two people.
I’ve set things up so that a relationship involves at most 2 people. (Sometimes, it is possible to work far into the past, and not know the other person in a relationship that spawned children. So a relationship with just one person means we don’t know who the other person is.)
For the list of check boxes provided to tag the relationship with the people in the relationship:
check boxes for selected people will always be enabled
check boxes for non-selected people will only be enabled when there are fewer than 2 people selected.
Here’s a snippet of related code (from the “Relationship Editor” tiddler), followed by a screenshot (two people selected, all other check boxes become disabled):
I’ve also altered the shape of relationship nodes, switching from a triangle to an inverted house (eventually, I think I’ll be using icons to identify the kind of relationship between the couple and between the couple and children):
I’m in the midst of coding a change regarding the list of relationships in the sidebar tab.
In the “before” version, every relationship is retrieved once, and the link for each relationship shows the people in the relationship sorted by their names. This means searching via scanning the list means looking at names of both people in every relationship..
In the “after” version, every relationship is listed twice: once as “Person A” and “Person B”, and once as “Person B” and “Person A”. And then all of those relationships are sorted alphabetically. So if you are scanning for a particular person, you can just look at the first person in all relationships.
A picture being worth a thousand words, here is an example in which we would be scanning for a particular “Michel”…
Since my last update, I branched this TW to a private instance for my personal family tree.
It is much more fun to work on a genealogy tool when using it to build one’s own family tree.
All of the technical work I’ve done to my private TW instance, I’ve just imported all of the “technical” tiddlers (aka “non-data” tiddlers) to this TW I’ve shared with you.
Thanks @Charlie_Veniot for showing us a great example of how TiddlyWiki can be used.
I am sure that this TW instance will inspire many users to start their own family tree.
The time and effort that you have put into this project amazes me.
I don’t know how you do it.
ADHD, baby. I’m easily distracted (everything is an interesting and shiny object. Squirrel!)
However, if it is inordinately interesting, I am like a dog on a bone, and the one thing has all of my focus/attention at the expense of things that ought not be ignored.
The question “how would I do this/that with TiddlyWiki” almost always becomes the thing that muscles its way ahead of everything else.
Back in late September, my uncle forwarded to me a decent segment of the family tree on his mother’s side.
It was a “print to PDF” of what was obviously a spreadsheet used to create a quasi-diagram with each person in a spreadsheet cell, and cell borders coloured to look like lines in a true diagram.
That PDF was meant to print to paper, so that the pages can all be spread out on a wall/floor to see the whole thing. Yuck.
My personal version of this TW has ancestors going back to all men and women in the family tree going back to, often, the early 1600’s. Not something that can be easily printed out, so fun to figure out a way to view that info on screen.