From: Benny M. <ben...@gm...> - 2010-03-08 08:25:37
|
2010/3/8 Peter Hewett <gr...@he...>: > > Often I find that the relationship graph doesn't get the layout quite right, > giving crossed lines. That is, the order of the older generation isn't > correct, meaning the relationship lines cross, making the graph more difficult > to read and looking messy. > > This is for running a relationship graph on a filter. > > Is there something I am doing wrong, or is there something I can do to fix > this? Or is it a bug? Gramps is not making the graph itself, but creates a dot file, which is used by graphviz to create the graph. Info on graphviz: http://www.graphviz.org/ This project offers way to edit the created dot files: dotty, see http://www.graphviz.org/Documentation.php So with dotty, you can change how the graph looks after gramps has created it. To create a better dot file that does not need changes after creation with gramps, would mean we need some specific examples of graphs that go bad. Then we might find a way to produce a dot file that avoids the crossing lines. We want to avoid however to try to specify too much in the graph files. It is better to have a generic dot file that graphviz interprets the best it can. There are some other dot editors out there: http://tintfu.sourceforge.net/ Note that for gramps 3.2 there is an experimental view to see trees made with graphviz inside of Gramps: http://gramps-project.org/wiki/index.php?title=Graph_View Note the _experimental_ ! As to know what is perhaps possible: http://stackoverflow.com/questions/2271704/family-tree-layout-with-dot-graphviz/ Note the crossing lines as soon as marriages are taken into account. Benny |