Extension:GraphVizAndMSCGen

What can this extension do?
This extension is a combination of Extension:GraphViz and Extension:MscGen (so all credit should go to those who went before). Plus some bits have been changed to ensure they both work on Windows. It assumes the binary files for MSCGen and GraphViz are in the same directory. Finally I added processing of the imagemap info that comes out of mscgen to make it work in the same way as GraphViz.

Usage
See Extension:GraphViz and Extension:MscGen for some examples.

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
execPath is the path of GraphViz and MSCGen.

MscGen
To get MscGen to work with this, you have to make a slight modification to this. In the 'wfGraphVizExtension' function, add: right below the included setHook command. Then, at the end of the file, add the following function: