I've reported in the
FamilyTreePluginDev topic that I've added a %GRDESCENDANTS% tag that will output the Descendents tree using the dot language . I've attached a sample results to the Dev topic. Are you interested in these enhancements?
--
TWiki:Main/GeorgeClark
- 02 Jan 2008
Absolutely. Feel free to check in any enhancements you have (open source

). Alternatively attach a patch to a bug topic, and I'll apply it for you (eventually).
--
TWiki:Main.CrawfordCurrie
- 02 Jan 2008
Hi Crawford, Thanks. I'll work on it a bit more and eventually try to check it in.
Unfortunately it appears that
DirectedGraphPlugin might need some work as well. It creates another .png attachment for every change in the family tree. It could probably use an option to create a specific named file instead of a name derived from the MD5. Without that, topics end up with an ever growing list of obsolete attachments.
--
TWiki:Main.GeorgeClark
- 03 Jan 2008
Interesting patch this, looking forward to see it in action
Would be good to have an alternative way of caching the DGP images, perhaps the MD5 "cache string" could be moved to the description part of the attachment instead of the name.
--
TWiki:Main.SteffenPoulsen
- 03 Jan 2008
I had not started into it much yet, but I was planning on adding an optional file= parameter or similar to the dot statement. If missing, DGP would work exactly as is to preserve backwards compatibility. With file= provided, it would control the filenames, and I was thinking of either attaching an extra file containing the checksum, or possibly saving the checksum into a _work_area directory, maybe similar to how the Tag plugin stores tags. I had not thought of the attachment comment. Interesting idea but I'm unconfortable pressing fields into service for other use. Once we have predictable file names, someone may want to add a comment. Obviously the file= parameter would need to be unique for a given topic - have not worked that out yet.
While I'm in poking around at it I was considering using the $TWiki::cfg to store the paths to graphviz and convert to avoid the manual file edits. And maybe using $TWiki::cfg{TempfileDir} as the working area until ready to attach the results.
Just out of curiosity, is there a reason to run
GraphViz separately for each output file vs. using the -O option to create the requested files in a single run?
--
TWiki:Main.GeorgeClark
- 04 Jan 2008
I've attached a patch for
FamilyTreePlugin that I have so far. I'd appreciate any comments. If someone could take a look
--
TWiki:Main.GeorgeClark
- 04 Jan 2008
I checked in some old work that improves the look of the HTML tree as well.
Closed.
--
CrawfordCurrie - 14 Jun 2008