looking for the best way to design family trees

42 views
Skip to first unread message

pat toche

unread,
May 27, 2009, 8:22:51 AM5/27/09
to TiddlyWiki
What would be the best TW approach to designing family trees? has
anyone looked into that?

The following recently caught my eye:
http://treeview.tiddlyspot.com/
http://twt-notes-treeview-experimental.tiddlyspot.com/index.html

This does look like a promising way to handle family trees
dynamically. (for aesthetic reasons the explorer-like yellowish folder
would be removed).

Can anyone tell me how difficult it would be to adapt something like
treeview to the purpose of building family trees?

Do you know of a TW implementation of family trees out there?

thanks,

Patrick.

...
My approach until now was to have one tiddler per person, with the
tiddler title giving the name and date of birth, say [[William
Frederick Cody aka Buffalo Bill (1846 – 1917)]], and then manually
create trees by referring to the tiddlers like that:
::*[[Father 1]] & [[Mother 1]]
:::*[[Father 2]] & [[Mother 2]]
::::*[[Father 3]] & [[Mother 3]]

But that isn't dynamic, in that you need to manually build every
possible tree.

Anthony Muscio

unread,
Jun 1, 2009, 3:58:11 AM6/1/09
to Tiddl...@googlegroups.com
Pat,

Since no one has answered you, I suggest you first look at;
NewHearPlugin

then
tagglyTagging
see a canned tiddlywiki at http://mptw.tiddlyspot.com/

With this you could simply create a tiddler tagged person then a tiddler named person. then use the newhear menu option to create there children, then in the child tiddler newhere to create there children

using
tagglyTagging
In the person at the bottom of the tiddler you can review the whole structure now encoded in tiddlywiki even before you find a nice tree display.

Regards Tony

TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed something.
www.tiddlywiki.com

pat toche

unread,
Jun 1, 2009, 10:43:35 AM6/1/09
to TiddlyWiki
Thanks for your help Tony,

Indeed, there are two issues (at least) : 1) link the tiddlers
together and 2) display them. Treeview is very much about 2), but I
still need to solve 1).

I actually have the mptw template, but couldn't quite figure out how
to use tagglyTagging for this purpose. I'm still unsure.

Okay, an example. John James Taylor 1700-1750 marries Jane Julie Jones
1700-1750 in 1725. They have 2 kids, John Henry Taylor 1725-1775 and
Jane Marie Taylor 1730-1780. John Henry Taylor marries Anna Marie
Smith 1725-1775 in 1750.

Now, what if I tag John James Taylor with Jane Julie Jones because
they are husband and wife. And I tag both John James Taylor and Jane
Julie Jones with both John Henry Taylor and Jane Marie Taylor because
they are parent and child. John Henry Taylor is tagged with John James
Taylor and Jane Julie Jones because they are child and parent, and
with Anna Marie Smith because they are husband and wife.

As far as I could tell, newHere creates a tiddler with the title as a
tag, which saves one copy-paste effort but given the above scenario I
would still have to manually add several tags.

Okay that's a lot of tagging but there's no way to distinguish parent-
child, child-parent, husband-wife relations. So what I get is a graph
of relationships that does not distinguish the type of relationship.

Am I missing something?

I'd have thought you'd need something like tagging the tags. I must
admit I don't really understand TagglyTagging, so perhaps that's what
it does?

Thanks for your advice Tony!

Patrick.

Morris Gray

unread,
Jun 1, 2009, 4:24:23 PM6/1/09
to TiddlyWiki
On Jun 2, 12:43 am, pat toche <annopo...@gmail.com> wrote:

> Okay, an example. John James Taylor 1700-1750 marries Jane Julie Jones
> 1700-1750 in 1725. They have 2 kids, John Henry Taylor 1725-1775 and
> Jane Marie Taylor 1730-1780. John Henry Taylor marries Anna Marie
> Smith 1725-1775 in 1750.

Hi Pat,

I've been thinking about your dilemma while I have been working on a
final release of
I am almost finished so I took some time to trial your family tree
problem.

It can be done after a fashion and works well as far as it goes. You
cannot expect it look like a real tree with branches going off both
sides. Nor will you see all the relationships of all of the members
at a glance.

Nevertheless all of the data is there and accessible. It depends on
what you want. What is shown is part graph and part relational
database. Each member has their own tiddler for more detailed
information the married couples both have links to their tiddlers but
they are not shown in the graph but like I said they are as separate
files.

I added a couple grand children to see where it was going...

Have a look http://twt-notes-treeview-experimental.tiddlyspot.com/index.html

Morris

pat toche

unread,
Jun 1, 2009, 5:11:19 PM6/1/09
to TiddlyWiki
This looks great Morris!

The blue book-type image is very nice.

I'll download it and experiment with it over the next few days, and
will get back to you.

Thanks so much for taking the trouble!

P.

pat

unread,
Jun 2, 2009, 5:24:42 PM6/2/09
to TiddlyWiki
Morris, your treeview works great here, I like it.

One thought: the trees currently expand horizontally, which is very
suitable to the intended use in the side bar. Could the code be
tweaked to offer a vertical top-down expansion too? This would be the
style of choice for family trees and may serve some purpose for
displaying trees with few long branches (as opposed to many short
branches). [Needless to say that the expansion would go from top to
bottom while the text would appear horizontally.]

pat

unread,
Jun 2, 2009, 5:34:25 PM6/2/09
to TiddlyWiki
Been thinking about this family tree business a little. Just
wondering: it looks possible to create categories of tags. So I
thought about creating the following categories:

tags (the usual sort)
father
mother
spouse
children

I couldn't find a lot of information about creating extra tags, but
there is this:
http://groups.google.com/group/TiddlyWiki/browse_thread/thread/1204386f41fc66a5

I thought that perhaps something along the lines of:

<div class="editLabel">Tags</div><div class="editor" macro="edit
tags"></div>
<div class="editorFooter"><span macro="message
views.editor.tagPrompt"></span><span macro="tagChooser"></span></div>
<div class="editLabel">Mother</div><div class="editor" macro="edit
mother"></div>
<div class="editLabel">Father</div><div class="editor" macro="edit
father"></div>
<div class="editLabel">Spouse</div><div class="editor" macro="edit
spouse"></div>
<div class="editLabel">Children</div><div class="editor" macro="edit
children"></div>

Then you'd enter the following into each tag category:
mother: [[John's Mum]]
father: [[John's Dad]]
spouse: [[John's Wife]]
children: [[John's Son 1]] [[John's Son 2]] [[John's Daughter 1]]
[[John's Daughter 2]]

If this works as intended, then the tagging information might be
usable in the creation of trees...

Is that even the correct way to go about this?

Needless to say that matters would be a little more complicated than
that when there are several spouses.
Reply all
Reply to author
Forward
0 new messages