autoarrange using Graphviz
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


autoarrange using Graphviz Expand / Collapse
Author
Message
Post #5997 Posted 6/15/2005 5:45:43 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Group: Forum Members
Last Login: 12/10/2007 9:55:16 PM
Posts: 236, Visits: 426
Have you concidered using the program called Graphviz for better autoarrainging

it looks fairly straight forward

/* courtesy Ian Darwin and Geoff Collyer, Softquad Inc. */
digraph unix {
size="6,6";
node [color=lightblue2, style=filled];
"5th Edition" -> "6th Edition";
"5th Edition" -> "PWB 1.0";
"6th Edition" -> "LSX";
"6th Edition" -> "1 BSD";
"6th Edition" -> "Mini Unix";
"6th Edition" -> "Wollongong";
"6th Edition" -> "Interdata";
"Interdata" -> "Unix/TS 3.0";
"Interdata" -> "PWB 2.0";
"Interdata" -> "7th Edition";
"7th Edition" -> "8th Edition";
"7th Edition" -> "32V";
"7th Edition" -> "V7M";
"7th Edition" -> "Ultrix-11";
"7th Edition" -> "Xenix";
"7th Edition" -> "UniPlus+";
"V7M" -> "Ultrix-11";
"8th Edition" -> "9th Edition";
"1 BSD" -> "2 BSD";
"2 BSD" -> "2.8 BSD";
"2.8 BSD" -> "Ultrix-11";
"2.8 BSD" -> "2.9 BSD";
"32V" -> "3 BSD";
"3 BSD" -> "4 BSD";
"4 BSD" -> "4.1 BSD";
"4.1 BSD" -> "4.2 BSD";
"4.1 BSD" -> "2.8 BSD";
"4.1 BSD" -> "8th Edition";
"4.2 BSD" -> "4.3 BSD";
"4.2 BSD" -> "Ultrix-32";
"PWB 1.0" -> "PWB 1.2";
"PWB 1.0" -> "USG 1.0";
"PWB 1.2" -> "PWB 2.0";
"USG 1.0" -> "CB Unix 1";
"USG 1.0" -> "USG 2.0";
"CB Unix 1" -> "CB Unix 2";
"CB Unix 2" -> "CB Unix 3";
"CB Unix 3" -> "Unix/TS++";
"CB Unix 3" -> "PDP-11 Sys V";
"USG 2.0" -> "USG 3.0";
"USG 3.0" -> "Unix/TS 3.0";
"PWB 2.0" -> "Unix/TS 3.0";
"Unix/TS 1.0" -> "Unix/TS 3.0";
"Unix/TS 3.0" -> "TS 4.0";
"Unix/TS++" -> "TS 4.0";
"CB Unix 3" -> "TS 4.0";
"TS 4.0" -> "System V.0";
"System V.0" -> "System V.2";
"System V.2" -> "System V.3";


becomes this

http://www.graphviz.org/Gallery/directed/unix.png
Post #5998 Posted 8/18/2005 6:48:23 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 8:36:29 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,877
Thanks for your suggestion. I like it very much. I was not aware of any such tool.

Post #5999 Posted 8/18/2005 6:48:23 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Group: Forum Members
Last Login: 12/10/2007 9:55:16 PM
Posts: 236, Visits: 426
ive been playing with it a little already

the only hurrdle i can think of so far is im having trouble linking children to parents

mom -> 0 -> dad

0-> child 1
0-> child 2




i think there is a way to delmit how small the 0 would be and make it really tiny
Post #6000 Posted 8/18/2005 6:48:23 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Group: Forum Members
Last Login: 12/10/2007 9:55:16 PM
Posts: 236, Visits: 426
just did my tree with it and here is what i got

the basic work flow righ tnow is

Windows-> genopro ==> gedcom file===>Linux Gramps===> .dot file ====>windows graphviz ====>.ps file====>windows adobe distiller===> pdf


vola ( it also outputs it in jpg gif vrml and a bunch others ( i did png for the purpose of having a picture here of what it looks like)


Post #6001 Posted 8/18/2005 6:48:24 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 8:36:29 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,877
This is very interesting. Is there a reason why you used Gedcom rather than XML?

Post #6002 Posted 8/18/2005 6:48:24 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Group: Forum Members
Last Login: 12/10/2007 9:55:16 PM
Posts: 236, Visits: 426
becuase its late and im tired :lol:

im didnt see xml as a improt option but i didnt even lock soo ill try that out later tonight ( night shift)

that tree is roughly 600 individuals

i did run into problems with my big tree ( 14k individuals) with overlaping, im reading up on how to allow graphviz to use more "paper space" but its slow going there isnt exactly a web forum for graphviz that i have been able to find so far
Post #6003 Posted 8/18/2005 6:48:24 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Group: Forum Members
Last Login: 12/10/2007 9:55:16 PM
Posts: 236, Visits: 426
also i havnet gotten this far yet

but in the documentation (here )

it shows an example where you can anchor nodes to certian levels



Image hosted by TinyPic.com


this would be usefull for the alining people to certian times
Post #6004 Posted 8/18/2005 6:48:24 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Group: Forum Members
Last Login: 12/10/2007 9:55:16 PM
Posts: 236, Visits: 426
also

ive done some more diging around this weekend

you can do pictures with nodes like this:

http://www.karakas-online.de/various/from-past-to-future-small.png


here is some more backround info on it here
Post #6005 Posted 8/18/2005 6:48:24 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Group: Forum Members
Last Login: 12/10/2007 9:55:16 PM
Posts: 236, Visits: 426
should i keep persuing options with this or is no one intrested?
Post #6006 Posted 8/18/2005 6:48:24 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 8:36:29 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,877
"AutoArranging" is a complex issue. There have been many papers written about this. I am always interested to learn about different techniques to automatically generate layouts. At the moment, I am busy on many tasks, so I would recommend to treat this issue as your personal project. I don't have the time to read the technical details about Graphviz.

I am sure there are many others interested in your postings, however nobody dares to post a reply because this stuff is too new and/or complex to comment on it.


Post #6007 Posted 8/18/2005 6:48:24 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:14:43 AM
GenoPro Version: 2.0.1.6
Posts: 1,151, Visits: 5,403
I am one of the 'others' who is very interested in this new avenue and I'm grateful that you have brought it to attention of this forum. I am more interested in its use in generating a visual output report rather than an internal autoarrange tool.

As soon as I get the time I would like to see if I can produce the the .dot file with GenoPro's Report Generator, I don't see why it should not be possible. Running Linux Gramps to provide the conversion is not an option for many of us. I would then use Graphviz to produce an SVG file.



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"