• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5187: Enhanced plugin to add support for the DirectedGraphPlugin and GraphViz for the descendants tree

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension FamilyTreePlugin Enhancement Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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 smile ). 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 smile

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 wink

-- 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

ItemTemplate
Summary Enhanced plugin to add support for the DirectedGraphPlugin and GraphViz for the descendants tree
ReportedBy TWiki:Main.GeorgeClark
Codebase 4.1.2
SVN Range TWiki-4.3.0, Sun, 30 Dec 2007, build 16120
AppliesTo Extension
Component FamilyTreePlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:16249 TWikirev:16894 TWikirev:16895
TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch FamilyTree.patch r1 manage 4.9 K 2008-01-04 - 01:30 UnknownUser Patch for GRDESCENDANTS tag.
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2008-06-14 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback