ImageGen Plugin Zombies#
ImageGen is back from the dead! Long live JSPWiki! We've decided to fork these plugins as they are not maintained and rely on hard to find libraries.The <alias> is what you'll use when putting one of these plugins in a Wiki page.
For example:
[{GraphViz ...}]
The version of Graphviz needs to be one which has support for PNG images. For RHEL servers, the Graphviz YUM repository contains a version that works with the ImageGen plugins.
Thanks to Nascif Abousalh-Neto for coming up with these great plugins.
Changes#
Fork changes:- GraphvizPlugin now works with node names that contain spaces and are written between double quotes.
Future#
Attachments are not versioned nor do they show the author. While this is not really necessary, it would be nice.Generate output to an accessible directory on the web server, rather than "attaching" to the wiki page. This would eliminate the above issues. As the .dat and .png files are both generated on the sever (in the container's temp directory) it would be simpler to just save them in an accessible location in the container's document root. However, this would prevent you from using wiki ACLs to protect the generated content...
Regenerate the graph/image when the input data are changed inside the page.
More Graphing#
Netbeans Platform applications:<?xml version="1.0" encoding="UTF-8"?> <modules> <plugin class="org.nascif.jspwiki.plugin.imagegen.graphviz.GraphVizPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>GraphViz</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.BarChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>BarChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.BubbleChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>BubbleChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.GanttChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>GanttChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.LineChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>LineChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.MultiplePieChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>MultiPieChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.PieChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>PieChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.PolarChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>PolarChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.ScatterPlotChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>ScatterPlotChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.SpiderWebChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>SpiderWebChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.StackedBarChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>StackedBarChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.StackedXYAreaChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>StackedXYAreaChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.TimeSeriesChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>TimeSeriesChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.WaterfallChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>WaterfallChart</alias> </plugin> <plugin class="org.nascif.jspwiki.imagegen.jfreechart.XYAreaChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>XYAreaChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.XYLineChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>XYLineChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.XYStepAreaChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>XYStepAreaChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.jfreechart.XYStepChartPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>XYStepChart</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.sequence.SequencePlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>Sequence</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.snipgraph.DirectedAcyclicGraphPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>DirectedAcyclicGraph</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.snipgraph.ExplorerGraphPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>ExplorerGraph</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.snipgraph.HorizontalGraphPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>HorizontalGraph</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.snipgraph.MindMapGraphPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>MindMapGraph</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.snipgraph.UMLGraphPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>UMLGraph</alias> </plugin> <plugin class="org.nascif.jspwiki.plugin.imagegen.snipgraph.VerticalGraphPlugin"> <author>Nascif A. Abousalh Neto</author> <minVersion>2.4</minVersion> <alias>VerticalGraph</alias> </plugin> </modules>