Dokuwiki Plugin - OrgApp

Dokuwiki plugin to draw organization charts.

The plugin has been updated with the last version of the applet, there are now more options to draw more compact organization chart (e.g. by reversing the orientation of the last level of leaves).

Plugin usage

Generates charts using the applet OrgApp.

Syntax

<orgapp attribute="value" attribute="value" ...>
 chart definition
</orgapp>

Possible optional attributes:

Name Description
width Width of the chart
height Height of the chart
name Name of the applet
code Main class of the OrgApp applet
archive Archive (URL) location of the OrgApp applet
target Dafault link target
type Type of the chart definition (0=SOF), see OrgApp for more details
url Location (URL) of the organization chart definition

The chart can be defined either directly in the Wiki page or in an external file. In the first case is sufficient to include the definition within the tag orgapp, in the second case you should use the attribute url to define the URL of the definition.

Examples

The following code shows how to define an organization chart directly in the wiki page:

<orgapp>
 <organigram>
  <unit name="eIrOcA" >
   <unit name="eNrIcO" />
   <unit name="sImOnA" />
  </unit>
 </organigram>
</orgapp>

generates the following result:

The following code shows how to draw an organization defined in an external file and changing the default width:

<orgapp width="100%" url="/apps/orgapp/data2.sof"></orgapp>

generates the following result:

Installation

Download and install the plugin using the Plugin Manager using the following http://www.eiroca.net/apps/dokuwiki/dokuwiki-plugin-orgapp.zip. Refer to plugins on how to install plugins manually. Releases at github is always up to date.

Administration

The default values used in the generation of the organization chart can be changed from the control panel.

It is advisable, but not necessary, move the OrgApplet.jar file in the Web server directory serving static resources and change the URL in the field Archive of the administration panel.

WARNING if the applet does not load, you should control:

  • Java runtime is properly installed in the PC (version 6 or higher)
  • that Archive field contains the correct URL of the file OrgApplet.jar
  • to have disabled the nice URL dokuwiki feature. If you want to use nice URL you need to move the OrgApplet.jar file to a static resources folder outside the control of dokuwiki rewrite rules.

History

Version 19.02

  • dokuwiki “Greebo” compatibility
  • PHP 7.x compatibility

Version 2013/06/29

  • Updated with the newest applet

Version 2011/02/03

  • Added button in the edit toolbar
  • Support for DokuWiki “Anteater”

Version 2010/04/19

  • First version

Licence & Copyright

Copyright © 2010-2019 eIrOcA (eNrIcO Croce & sImOnA Burzio)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.