Diagram Application (Pro)

Last modified by Administrator on 2026/07/10 00:03

Diagram Application (Pro)

Create easy to use diagrams and flowcharts using draw.io. Import Gliffy diagrams. Include diagrams in other pages. Export them as PDFs or images. The app can be purchased individually or part of the XWiki Pro package. Try it free.

CategoryApplication
Active Installs57
Rating
0 Votes
Support
LicenseGNU Lesser General Public License 2.1
Minimal XWiki version supportedXWiki 14.10
SourcesIssues

Using the Diagram Pro application

With this application you can edit and view diagrams in XWiki, using the diagrams.net integration.

You can create a big array of diagrams, such as: wireframes, mockups, UML, charts, BPMN, mind maps, tree & network diagrams etc.

Each diagram is stored in a wiki page. The revisions of the diagrams are synched in XWiki.

The app provides intuitive functionalities for both beginners and advanced users. You can:

  • add and edit new diagrams, with a variety of shapes available

    DiagramProApp.png

  • import existing diagrams

    DiagramProImport.png

  • view the diagrams as images attached to wiki pages

    DiagramProAttach.png

  • import diagrams from GliffyGliffy-Import-Demo.gif

     

  • include diagrams in other wiki pages

To learn more about how to create, edit and include diagrams on other wiki pages please visit the documentation tab

Examples

Create a diagram representing a logical structure

The Active Directory logical structure (objects, organizational units, domains) can easily be explained using a diagram: 

Diagram_Example_ActiveDirectory_OrganizationalUnit_800.png

Other diagram examples

FAQ

1. What’s the difference between the free Diagrams App and Diagram Application (Pro)?

The main difference is the maintenance and support model.

The free Diagrams App is a community/contrib extension. Like other contrib extensions, it is maintained by the community, with support usually provided on a best-effort basis.

Diagram Application (Pro) is maintained by XWiki SAS. It includes professional support, regular maintenance, and security fixes. It is also part of the XWiki Pro Apps ecosystem and can be purchased individually or as part of the XWiki Pro package.

2. Can I edit diagrams in full-screen mode?

Diagram Application (Pro) provides a full-screen option while editing, so users can switch from the regular XWiki interface to a wider editing view.

Starting with version 1.24.0, there will also be a new type of diagram that can be launched directly into full-screen edit mode. This is useful when working on larger or more complex diagrams.

3. Which Confluence diagrams can be migrated to XWiki?

Diagram conversion works for draw.io diagrams and Gliffy diagrams.

Gliffy diagram conversion has been supported and used for several years. For other Confluence diagram plug-ins, compatibility needs to be checked case by case, depending on the format and how the diagrams are stored in Confluence.

4. Can migrated diagrams become fully editable in XWiki?

After migration from Confluence, diagrams can be converted so they become editable in XWiki.

Once converted, the diagram can be edited and the changes are reflected in XWiki. The “revert diagram conversion” option remains available, so users can go back if they do not want the diagram to stay editable.

This conversion state is kept visible on purpose, so users can control whether an imported diagram remains editable or not.

5. Can I hide diagram pages from the navigation?

Each diagram is stored as a wiki page, so by default it can appear in the page tree/navigation like other XWiki pages. This is part of how Diagram Application (Pro) integrates diagrams with XWiki’s page model, including permissions and versioning.

A practical workaround is to organize diagram pages under a dedicated hidden or technical space, or place them as child pages where they make sense contextually.

Depending on the wiki configuration, navigation panels can also be customized to hide specific locations or technical pages. This is more of an XWiki navigation configuration topic than a Diagram Application (Pro) setting.

6. When should I use a diagram instead of a regular XWiki page?

Use a diagram when the information is easier to understand visually than as text or tables.

Good examples include processes, workflows, system architecture, organizational structures, dependencies, user journeys, decision trees, network diagrams, UML, BPMN, mockups, and mind maps.

Use regular or structured XWiki pages when the information needs to be queried, filtered, reused as data, or maintained consistently across many pages.

In practice, the best setup is often both: A page as the source of truth, plus a diagram to explain the flow or relationship visually.

7. Can large diagrams affect page performance?

Yes, they can, depending on size, complexity, rendering mode, and where the diagram is displayed.

Large diagrams with many shapes, images, or links can take more time to load or render, especially if they are displayed directly inside frequently visited pages.

Diagram Application (Pro) supports including diagrams in other pages through the Diagram Macro, which includes a cached option. When the cached option is unchecked, users can still zoom and open the diagram in full-screen from the referenced page. So there is a trade-off between interactivity and rendering behavior.

For very large diagrams, it is usually better to keep the diagram on its own page and include it only where needed.

8. Can I add links inside diagrams?

Diagram Application (Pro) supports links inside diagrams, including links to XWiki pages and external documentation.

This is useful when diagrams act as an entry point into more detailed documentation. For example, an architecture diagram can link to technical pages, a process diagram can link to procedures, and an onboarding flow can link to team resources.

Links can also be preserved in exports depending on the export format. For PDF export, SVG-based export can keep clickable text, including links.

9. Should I use diagrams as attachments or create them with Diagram Application (Pro)?

It depends on how you want to use and maintain them.

Using a diagram as an attachment is mostly a static approach. You attach an image or file to a page, and users can view or download it.

Using Diagram Application (Pro) gives you an editable diagram managed inside XWiki. Each diagram is stored in a wiki page, revisions are synchronized with XWiki, and the diagram can be included in other pages using the Diagram Macro.

This makes diagrams easier to maintain as part of living documentation, instead of treating them as isolated files.

Starting with version 1.24.0, there will also be a way to create diagrams as attachments inside a page, giving users more flexibility depending on how they want to organize their content.

10. Can several people edit the same diagram at the same time?

Diagram Application (Pro) supports team collaboration around diagrams, but not simultaneous real-time editing inside the diagram editor.

Diagrams are stored and managed in XWiki, so changes benefit from XWiki’s page history and versioning. This makes it possible to track updates and restore previous versions when needed.

For now, the recommended workflow is for one user to edit the diagram at a time, while the rest of the team collaborates through the surrounding XWiki page using comments, mentions, annotations, and page history.

11. Are diagram changes versioned in XWiki?

Diagram revisions are synchronized with XWiki.

Because each diagram is stored in a wiki page, diagram changes are versioned through XWiki’s standard page history. You can use XWiki versioning to track and restore previous diagram versions, but visual diagram diffing is not documented as a dedicated feature.

12. What happens if someone has access to a page but not to the diagram inside it?

Since each diagram is stored as a wiki page, access rights follow XWiki’s permissions model.

If a page includes a diagram from another source page, the user also needs the appropriate rights to view that diagram source. Otherwise, they may be able to access the documentation page but not see the embedded diagram.

The best practice is to align permissions between the page where the diagram is displayed and the diagram page itself.

13. If I reuse a diagram on several pages, will updates appear everywhere?

When the same diagram is included in multiple pages using the Diagram Macro, those pages reference the same diagram source.

So if you update the diagram source page, the included diagram should reflect the updated version wherever it is reused.

This is one of the advantages of managing diagrams inside XWiki: You can reuse the same diagram in various places without maintaining separate copies manually.

14. Can XWiki search text inside diagrams?

XWiki can index the content of the page. Since diagrams are stored inside that page content, text within diagrams can be searchable.

This is not because Diagram Application (Pro) adds a special diagram-specific search feature. It comes from how XWiki indexes page content.

However, it is better not to rely on search for shapes themselves. Shapes are stored differently by draw.io and may not have a searchable field.

Also, this will not work in the same way with the inline diagrams planned for version 1.24.0.

As a good practice, add a short textual summary near the diagram, plus clear page titles, headings, and tags. This makes diagrams easier to find and improves accessibility.

15. Can XWiki display diagrams stored outside the wiki?

Diagram Application (Pro) supports rendering diagrams hosted elsewhere through the Diagram Macro, which includes a parameter for URLs.

This means that, depending on the setup, a diagram file stored outside XWiki can be rendered in an XWiki page through the macro.

The important distinction is between displaying an externally hosted diagram and managing it fully inside XWiki. If users want XWiki editing, versioning, permissions, and page history for that diagram, then storing it in XWiki is the more complete approach.

External Resources

How to create a new diagram

Using the template

To create a new diagram click on Diagrams in the Applications panel.

DiagramPanel.png

Click on the Create button, fill in the diagram name and select the Diagram template, then click Create again.

DiagramsHome.png

CreateDiagram.png

Use the editor to create your diagram, then click Save & View.

DiagramEdit.png

DiagramView.png

Using the inline diagram macro

To create a new diagram using the inline macro, simply add the macro to the page, complete the required name parameter, and save the page. Once the page is saved, you will see a clickable link that takes you to the editor, where the diagram will be created. See the video below for an example.

How to include a diagram in another wiki page

Using the WYSIWYG editor

If you wish to display an existing diagram on another page you should use the Diagram Macro. Go to the wiki page where you'd like to include the diagram. In edit mode, click on the XWiki Macro icon.

DiagramMacro.png

Select the Diagram Macro from the list of macros.

AddDiagramMacro.png

Fill in the path to the diagram you wish to include and click Submit.

EditDiagramMacro.png

You will be able to see the included diagram both in edit mode and in view mode.

DiagramMacroEditMode
Included diagram in edit mode.

DiagramMacroViewMode
Included diagram in view mode.

Using the Wiki editor

If you're more inclined to write code directly, you can write the following directly in wiki mode:

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

Using the embed diagram macro

The Embed Diagram macro allows you to include a diagram within a page. The macro has three parameters:

  • Diagram Source - The reference to the XWiki diagram that you want to embed in the page. This parameter includes a picker that allows you to search for diagrams by either title or page reference.
  • External Diagram Source - Use this parameter to embed a diagram from an external source using a URL.
  • Enable Edit - Enables editing of the original diagram directly from the page where it is embedded. This option only works with diagrams stored in your wiki.

How do I zoom in and out a diagram using the macro?

Currently there is the possibility to zoom a diagram in and out, as well as to view it in full screen, right from the page where it is referenced from. To enable this, the "Cached" option needs to remain unchecked when you insert a new diagram macro, as shown below:

EditMacroUncheckedCache.png

DemoZoom.gif

How to print a diagram?

Use the menu from the edit mode of the Diagram page to print (option available from File). You will notice a pop-up with print options and at this step you can choose to preview in browser how the printed diagram would look or you could select to print it. You have the option to print using a connected printer or to save the file as a PDF.

How do I export diagrams as PDF or images?

From the File menu section click on Export as and then select the desired option. With the Advanced option you can customize the look of the exported diagram in terms of background, width and height, name, format, zoom, dots per inch (dpi) or border width.

DiagramProExport.png

How do I choose between having the diagram as an image or SVG in an XWiki PDF export?

You can choose whether you want to use a PNG in the XWiki PDF export, which will display correctly text elements, or a SVG, that will additionally have clickable text, including links.

To specify this you will need to edit the diagram in object mode and from the exportUsingSVG property, choose whether you want the image-base or the svg-based XWiki PDF export. By editing the pdfImageExportZoom property you can also choose the quality of the image exported.

ExportWithSVG.png

ExportImageQuality.png

To save these changes you will need to save the XWiki page twice. Once in the object mode where you made the edit and then another time in the draw.io default editor, so that the edit is also picked by the /draw.io library.

How do I disable features that require an external server?

If you are extra concerned about privacy, it is possible to disable the features that require an external server:

  • the image export on IE11.
  • Load, save or export diagrams to cloud storage platforms, or autosave your diagram.
    • Disabled embed google/microsoft/notion/iframe
    • Disabled import/open library from URL
    • Disabled facebook/twitter/email share buttons
  • Search for and use the online clipart shapes.
  • Use the drawio online help.

You can disable this feature from the Global Administration > Other > Diagrams

AdminDiagrams.png

How do I use draw.io diagrams with Diagram Pro?

From the draw.io editor, export your diagram as a XML file. Then, on your wiki instance, create a diagram type of page, import the XML draw.io file. From that stage, you can continue to edit it or save the diagram page.

How do I use gliffy diagrams with Diagram Pro?

From the gliffy editor, right-click on the editor canvas and select “View diagram source”. After that, select all the text and copy it. Open any text editor on your computer and paste the text in. Then save the file, using a .gliffy suffix to end the file name. The next step is to go on your wiki instance, create a diagram type of page, and drag and drop the new .gliffy file into the diagram editing area. Your diagram will be imported, and you can edit it or save the page.

Installation Steps

This paid extensions requires XWiki 14.10 or above. In order to install the extension, follow the next steps inside your XWiki instance (on cloud or on premise).

Navigate to the Extension Manager

In the Applications Panel click on "More Applications..." and then "Install new applications...". Alternatively navigate directly to the Administration and select the "Extensions" section.

step1.png

Install the Extension

Search for the extension you wish to install and use the Install button to install it.

step2.png

Get a License

Navigate to the "Licenses" section of the Administration, fill your details, look for the extension you just installed in the live table and click the buttons to get a trial license or to buy a license.

step3.png

Install the License

If you have selected a trial license then you're good and there's nothing else to do. Your trial license is automatically installed.

However if you've selected to buy a license you'll be redirected to a page to perform the payment. At the end you need to come back to the "Licenses" administration section and click on the "Check for Updates" button. This will download and apply the license you bought.

Use the Extension

Start using the Extension! Refer to the extension's documentation to know how to use it.

Installing Paid Apps on Subwikis

If you want to install an application on the whole farm (main wiki + subwikis), you can do so directly from the main wiki’s Extension Manager, as seen below:

step4.png

Extensions can also be installed only on a particular subwiki by global admins. Subwiki admins will not be able to install these extensions due to their limited rights.

Options

The price is per year and varies depending on the support level and the number of users.

Support / Users 10 25 50 100 250
Basic
Diagram Application (Pro) is part of the XWiki Pro package. By purchasing this package, you will benefit from more extensions at a better price. Check the full offer in XWiki Pro! The Diagram Application (Pro) can be purchased individually only via online order (credit card payment), following the “How to Buy” procedure described below. The application is part of the XWiki Pro package, which can be purchased through online order for up to 1000 users, or through manual order (bank transfer payment) by contacting sales@xwiki.com.

Benefits

What do you get when you purchase an XWiki extension?

1/3 years license

By purchasing an XWiki extension license, you'll benefit from it during one or three years, depending on the chosen engagement period.

Free updates

You benefit from all the extension updates during one year. You are always up to date.

Support included

If you are facing an issue, you can reach the XWiki support. Our team is always available to help.

How to Buy

To buy, install this extension from inside your XWiki instance and follow the instructions.

Release notes

Extension details

Information

This information is only displayed to Administrators. Your users can't see this tab.

License

  • GNU Lesser General Public License 2.1

Sources

Issues

Type

  • xar

Developed by

Compatibility

  • Requires XWiki 14.10 or above.
Success

Installable with the Extension Manager

Dependencies

  • com.xwiki.licensing:application-licensing-licensor-api 1.32.3
  • com.xwiki.diagram:application-diagram-api 2.0
  • org.xwiki.platform:xwiki-platform-sheet-ui 15.10
  • org.xwiki.platform:xwiki-platform-administration-ui 15.10
  • org.xwiki.platform:xwiki-platform-rendering-macro-velocity 15.10
  • org.xwiki.rendering:xwiki-rendering-macro-html 15.10
  • com.xwiki.defaultPageTemplate:application-defaultPageTemplate 1.4.1
  • org.webjars:requirejs 2.3.6
  • org.webjars:jquery 3.7.1
  • org.xwiki.contrib:draw.io 24.5.5-3
  • org.xwiki.platform:xwiki-platform-ckeditor-ui 15.10
  • org.xwiki.platform:xwiki-platform-display-macro 15.10