Add feature: save the genealogy to a file to be visualized latter by D3.js
Original code by Hugo Gilbert, in his work on GridVis