Diagram Application

Last modified by Gabriela Anechitoaei on 2017/12/11 00:01

vectorCreate various types of diagrams using draw.io
TypeXAR
Developed by

Marius Dumitru Florea

Active Installs209
Rating
Rate!
2 Votes
LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

Description

This extension has a dependency on draw.io which is licensed under GPLv3. Even if this extension (i.e. the code that integrates draw.io in XWiki) is licensed under LGPL 2.1+ the combination of Diagram Application + draw.io is GPLv3. This means that if you want to distribute a package that bundles the Diagram Application and its draw.io dependency then that package must be licensed under GPLv3.

This is a simple application that integrates jgraph/draw.io in XWiki, adding support for editing and viewing diagrams. Each diagram is stored in a wiki page. It doesn't require any external services in order to work properly.

Examples

Tips

If you wish to display a generated diagram on another page you should use the Diagram Macro.

{{diagram reference="Path.To.DiagramPage" cached="true" /}}

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
1.0.3XWiki Enterprise 4.5+
1.0.4XWiki Enterprise 6.0.1, 6.2.4
1.0.5XWiki Enterprise 5.4.6 (Colibri), 6.4-M1 (Colibri, Flamingo), 6.4.1
1.0.6XWiki Enterprise 7.1.2, 7.2
1.1XWiki Enterprise 7.4+
1.2XWiki 9.8.1

Issues: https://jira.xwiki.org/browse/XADIAGRAM-37 , https://jira.xwiki.org/browse/XADIAGRAM-38 , https://jira.xwiki.org/browse/XADIAGRAM-43

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes

v1.2

  • Closed XADIAGRAM-36 The edit diagram link below the diagram should open the editor in a new tab
  • Closed XADIAGRAM-35 The diagram macro shows the "Create diagram" button even after the diagram was created
  • Closed XADIAGRAM-34 Add support for editing in full screen mode

v1.1

v1.0.3

  • The extension ID on XWiki Extension Repository was not consistent with the Maven ID.
  • Improve the project POM file.

v1.0.2

  • Fix the diagram editor loading after the changes introduced by XWIKI-106
  • Fix deprecated call to $msg.get()
  • Update parent version to 4.5.3

v1.0.1

  • Fixed the base URL for resources, which was preventing the menu from being properly loaded.

Dependencies

Dependencies for this extension (org.xwiki.contrib:application-diagram 1.2):

Tags: diagram draw
Created by Marius Dumitru Florea on 2013/03/03 21:18
    

Get Connected