2 /* Download hyperapplet.jar (or hyperwiki.jar) and GraphXML.dtd from
3 * http://hypergraph.sourceforge.net/download.html
4 * and place it into your theme directory.
5 * Include this php file and adjust the width/height.
6 * The static version requires a dumped "LinkDatabase.xml" via
7 * cd themes/default; wget http://localhost/wiki/index.php/LinkDatabase?format=xml -O LinkDatabase.xml
8 * into the same dir as hyperapplet.jar
12 <applet code="hypergraph.applications.hexplorer.HExplorerApplet.class" align="baseline"
13 archive="<?= $WikiTheme->_finddata("hyperapplet.jar") ?>"
14 width="160" height="360">
15 <?php // the dynamic version: ?>
16 <!--param name="file" value="<?= WikiURL("LinkDatabase", array('format'=>'xml')) ?>" /-->
17 <?php // The faster static version: dump it periodically ?>
18 <param name="file" value="<?= $WikiTheme->_finddata("LinkDatabase.xml") ?>" />
19 <!--param name="properties" value="<?= $WikiTheme->_finddata("hwiki.prop") ?>" /-->
20 <param name="center" value="<?= $page->getName() ?>" />