I have two new extensions to through into the mix:
1) Graphviz embedding extension. It generates Graphviz (http://www.graphviz.org) images from embedded markup. Although one already exists, I couldn't find the source code, so I wrote a new one.
2) Graph generating SpecialPage. This extension allows you to query your wiki for both XML and Graphviz markup of subsets of your wiki. As an added bonus, the content can be transparently included in pages so dynamic graphs (images) of relations can be generated.
The extensions can be downloaded from http://opensource.case.edu/projects/MediaWikiHacks/ A live example of these extensions is the Case Western Reserve University Wiki (http://wiki.case.edu). Some links of interest are: http://wiki.case.edu/Special:Graphs http://wiki.case.edu/Category:Staff http://wiki.case.edu/Category:ITS_Employees http://wiki.case.edu/CaseWiki:Categories
As you can see, for all smaller category pages, a graph of the category layout is automatically generated. (Yes, I know about the font issues).
This extension is a work in progress and is a little rough around the edges. I welcome any input others should provide and am open to suggestions for future possibilities.
Gregory Szorc gregory.szorc@case.edu
I did find the source for the existing graphviz extension, with some difficulty.
I am a bit dissapointed that it only supports dot layout, and not circo or any of the others. Perhaps you could add those... I haven't had time to look into making those changes.
Moin Steven,
On Monday 06 February 2006 04:17, Steven Dick wrote:
I did find the source for the existing graphviz extension, with some difficulty.
I am a bit dissapointed that it only supports dot layout, and not circo or any of the others. Perhaps you could add those... I haven't had time to look into making those changes.
My graph extension (shameless plug: http://bloodgate.com/perl/graph/) supports other renders, via a config file. However, it only supports one of them and you have to decide which. Would you also like to switch these for individual graphs?
Best wishes,
Tels
mediawiki-l@lists.wikimedia.org