From: Harvey N. <ha...@ni...> - 2015-04-19 18:28:03
|
On Sun, 2015-04-19 at 03:48 +0200, Josip wrote: > 4/18/2015 u 1:07 PM, Harvey Nimmo je napisao/la: > > Does anyone know of a way to print the GraphView representation on > > paper? (apart from screenshot, of course, which is rather limited in > > scope) > > > > You can't do that for Gramps directly but you can change GraphView code > to save graphviz file to disk. > Using dot you can later create chart in any format he support. > Best would be to create chart in vector format (svg, pdf, ps) so you can > change their size without quality loss. > > Or you can have both. > Open graphview.py and search for "parser.parse(svg_data)", insert this > lines bellow them: > > with open('yourfile.gv','w') as g,\ > open('yourfile.svg','w') as s: > g.write(dot_data) > s.write(svg_data) > > You should change yourfile.* to full path of your likening or will they > end up in location from which you started Gramps. > I hope it is clear from their extension which file is of what format > Thanks for this input Josip. I doubt if I would go this way though. I'm not too keen on modifying the code like this. I prefer to concentrate on working with my family tree than fumbling with the software. Perhaps a developer might think of adding something like it as a permanent feature in some future update :-) Good input though! Cheers Harvey |