From: Frode J. <fro...@sk...> - 2004-09-22 17:51:47
|
Hi Alex. onsdag 22. september 2004, 15:25, wrote Alex Roitman: > On Wed, Sep 22, 2004 at 09:08:57AM +0200, Frode Jemtland wrote: > > I want to make a relationship graph for a persons ancestors, for every > > person in my database. I don't know if this is possible today. I can't > > find a way to do it in the GUI, so I have tried to do it on command line, > > but I'm not familiar with python, therefore I'm a little bit lost. > > > > Anyone know how I can do this, both in the GUI, and on the command line ? > > So far, no report can be made using command line (in a sense of running > 'gramps blah-blah'). > > As for the GUI, The Relationship Graph has a filter menu. Selecting > "Entire database" should include all people in your graph. Of course, > you would need graphviz to make an actual graph from the dot file. Yes, I know. I don't think I explained myself quite clear. What I want to do is to make a ancestor tree for every person in the database. One dot file for each person.... In bash psaudocode (in a dream world where RelGraph.py accepts commandline arguments, like Ancestor_of(), Descendants_of(), All_related_to()...): for i in 'select id from people' do /usr/share/gramps/plugins/RelGraph.py Ancestors_of($i) > $i_ancestor_graph.dot done Do this make anymore sense .... ? -- -Frode It is more rational to sacrifice one life than six. -- Spock, "The Galileo Seven", stardate 2822.3 |