- General
- Free features
- Paid features
- General
How to add Draw.IO diagrams to wiki pages
Introduction
Draw.io (also known as diagrams.net) enables teams to create and maintain diagrams directly within Azure DevOps WikiPRO pages. By embedding diagrams into documentation, teams can visualize architectures, workflows, processes, and system designs while keeping technical documentation centralized and up to date. This article explains how to create, embed, edit, and manage Draw.io diagrams in Azure DevOps WikiPRO.
Using Draw.io within WikiPRO provides several advantages:
- Create professional architecture and process diagrams.
- Diagrams are stored as part of the version-controlled wiki page.
- Changes in diagrams can be viewed in a diff view, highlighting the actual changes in the chart.
- Diagrams can be changed in Markdown mode by editing the source of the diagram.
- Diagrams can be included in page templates.
- Reduce dependency on external diagram repositories.
Example of use:
- Architecture Diagrams
- Application architecture
- Cloud infrastructure
- Network topology
- Process Flow Diagrams
- Business processes
- Release workflows
- Incident management procedures
- Development Documentation
- CI/CD pipelines
- Deployment workflows
- System integrations
- Organizational Diagrams
- Team structures
- Responsibility matrices
- Support escalation paths
Creating a New Diagram
Step 1: Open the Wiki Page
- Navigate to the desired WikiPRO page.
- Select Edit.
Step 2: Insert a Draw.io Diagram
- Position the cursor where the diagram should appear.
- Select Insert > Draw.io Diagram (or the Draw.io toolbar option).
Step 3: Design the Diagram
- Use the Draw.io editor to create your diagram.
- Add shapes, connectors, labels, and icons as required.
- Save the diagram when complete.
Step 4: Save the Wiki Page
- Save the diagram.
- Return to the wiki editor.
- Save the wiki page.
The diagram will now be displayed directly within the page.
Editing an Existing Diagram
To modify a previously created diagram:
- Open the wiki page containing the diagram.
- Select Edit.
- Click the diagram.
- Click the Edit button.
- Make the required changes in Draw.io.
- Close the editor.
- Save the wiki page.
All updates become immediately available to users viewing the page.
Migrating Existing Diagrams
If your organization already maintains Draw.io diagrams, there are two ways you can move them into WikiPRO.
Manual exporting and importing
- Open the diagram in Draw.io.
- Export the diagram to a JSON or XML file.
- Open WikiPRO and create a page with a Draw.io diagram.
- Select Import from device and select the exported file.
- Save the page.
Importing diagrams by editing markdown
- Export the diagram to a .drawio (XML) file.
- Edit the file and copy the content (XML).
- Open WikiPRO and edit a page in markdown mode
- Click on the DrawIO icon in the toolbar or add the following markdown
```drawio
< !– Line to be replaced by xml content –>
```
- Paste the content in the DrawIO container.
- Save the page.
The second option is suitable for automation.
Summary
Draw.io integration in Azure DevOps WikiPRO provides a simple and effective way to create, maintain, and share visual documentation. By embedding diagrams directly into wiki pages, teams can improve collaboration, simplify knowledge sharing, and ensure technical documentation remains accurate and accessible.
Wiki PRO