[SOLVED] Family Tree / Ancestor Chart

Algorithms and parameters to put data in space
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
dt99jay
Posts:2
Joined:28 Dec 2011 15:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[SOLVED] Family Tree / Ancestor Chart

Post by dt99jay » 28 Dec 2011 15:48

Hi

I'm new to all things Gephi / social network analysis - apologies if this question has an obvious answer.

I have a GEDCOM file (http://en.wikipedia.org/wiki/GEDCOM) which contains data from a family tree, and I'd like to use Gephi to visualise it. So far I've imported this data into yEd (http://www.yworks.com/en/products_yed_about.html), which allows me to export as a .graphml file which Gephi can read.

The packaged layouts in Gephi work well with the data from the .graphml file, but I'd like to find a layout that takes time (e.g. birth and death dates) into account. I wondered whether anyone is aware of examples of using Gephi to plot ancestor charts (e.g. a bit like the examples on this page: http://www.syniumsoftware.com/macfamilytree/charts.html)?

Thanks!

Jamie

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Family Tree / Ancestor Chart

Post by admin » 28 Dec 2011 18:10

Hi,

You may use this trick: install the Spatial Ranking plugin, available on https://gephi.org/plugins/spatialranking/ or in the plugin center of your Gephi.

Apply a layout, then use this plugin to set the old (lower values) nodes on the X axis. Alternatively, you can avoid to apply a layout by using another node attribute to rank the nodes on the Y axis.

Currently no layout exist to place the nodes according to the time.

dt99jay
Posts:2
Joined:28 Dec 2011 15:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Family Tree / Ancestor Chart

Post by dt99jay » 29 Dec 2011 12:05

Thanks very much - I'll give that a shot.

Jamie

elijah
Gephi Community Support
Posts:169
Joined:11 Sep 2010 18:09
Location:Stanford, CA
Contact:

Re: Family Tree / Ancestor Chart

Post by elijah » 03 Jan 2012 17:11

I've used Gephi to plot a 24,000 individual genealogy:

https://dhs.stanford.edu/social-media-l ... h-peoples/

I'll be doing some more serious work on this dataset in the Spring, at which point I plan to develop a couple layouts based on traditional representations of ancestry. One thing you can do is to pre-process your data such that every individual in a generation has a distinct X coordinate derived from the parents. Then you can use the generations as your Y coordinates and your derived X coordinates to use the Spatial Layout feature as Sébastien has suggested.

borek stavitel
Posts:1
Joined:11 Apr 2012 19:43
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: [SOLVED] Family Tree / Ancestor Chart

Post by borek stavitel » 13 Apr 2012 17:12

Hello, I have similar problem as OP, so I checked this forums and find this thread. But... I can't find a way to sort my nodes into a tree style graph.
My case is not family tree, but it is similar style. Well, I created nodes (let's call them A, B, C) and according edges (A-C and B-C). I need simple vertical layout where nodes A & B are in first "row" and node C is in second "row". I tried adding Y parameter to nodes and use this plugin, but it seems it doesn't work at all. Is this plugin working with current Gephi 0.8.1 version?

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable