Azure DevOps Mermaid is a powerful tool for streamlining project documentation and visualization. It uses a simple, text-based syntax to create diagrams and flowcharts that are easy to read and understand.
With Mermaid, you can create a wide range of diagrams, including flowcharts, sequence diagrams, and Gantt charts. This can be especially helpful for complex projects that involve multiple stakeholders and tasks.
By using a simple syntax, Mermaid makes it easy to create diagrams that are both informative and visually appealing. This can help to improve communication and collaboration among team members.
Automated Network Drawing
Automated network drawing is possible in Azure DevOps using the :::mermaid code block, which is similar to Markdown's ``` blocks but has some limitations. You can only use a limited subset of Mermaid features and not multiple in a row.
The :::mermaid code block is not as powerful as the full Mermaid implementation, but it's still a useful feature that can make life easier for many people. I've heard that the feature was more limited in the past, but it's still a good starting point.
One option to consider is using tools that can generate linkable images that are updated and generated as the underlying diagram changes, such as Revision's feature to generate an SVG image on the fly as a diagram updates.
Creating Diagrams with Code
Creating diagrams with code can be a bit tricky, but it's definitely possible. The Mermaid engine can be used in GoHugo to create automated network drawings.
You can use the plain Mermaid engine in GoHugo to create diagrams, but it's not the same as using the :::mermaid code block in Azure.
The :::mermaid code block in Azure is a limited subset of the Mermaid application, and you can only use one feature per page. This is different from the plain Mermaid engine in GoHugo.
I've tested it, and it's usable, but limited to one diagram per page. I'm hoping that the feature will be built out to include more of the regular Mermaid implementation.
Customizing Diagram Appearance
Customizing Diagram Appearance is a breeze with our automated network drawing tool. You can change the layout of your diagram to suit your needs.
The tool allows you to switch between different layout algorithms, such as the "Circular" layout, which is ideal for showing relationships between devices. This layout option is particularly useful for network diagrams.
You can also adjust the size and shape of your diagram to fit your screen or print it out. For example, you can choose to display the diagram in a compact "Compact" layout or an expanded "Detailed" layout.
Customizable colors and shapes can be used to highlight specific devices or connections in your diagram. This feature is useful for drawing attention to critical network components.
The tool also offers a "Zoom" feature, which enables you to magnify specific areas of the diagram for closer inspection. This is especially helpful when you need to see the details of a particular device or connection.
Linked Live Diagrams
Linked Live Diagrams are a game-changer for collaboration and documentation in Azure DevOps.
With Revision's feature, you can generate an SVG image on the fly as a diagram updates, making it easy to link from a platform like the Azure DevOps wiki.
This means that whenever your diagram changes in Revision, a new image is automatically created and updated in Azure DevOps, giving you a seamless and up-to-date visual representation of your code.
Real-time Collaboration
Linked Live Diagrams allows multiple users to collaborate in real-time, enabling seamless communication and teamwork.
This feature is especially useful for remote teams, who can now work together as if they were in the same room.
With Linked Live Diagrams, users can see each other's changes as they happen, reducing misunderstandings and improving project outcomes.
By sharing a single diagram, teams can work together towards a common goal, fostering a sense of unity and cooperation.
Collaborators can also communicate through live chat, further enhancing the real-time collaboration experience.
This feature is particularly beneficial for brainstorming sessions, where ideas can be shared and built upon instantly.
By leveraging Linked Live Diagrams' real-time collaboration capabilities, teams can work more efficiently and effectively.
Diagram Updates and Syncing
Linked live diagrams offer a dynamic alternative to static images. They can be updated and regenerated as the underlying diagram changes.
One of the features that enables this is the ability to generate an SVG image on the fly as a diagram updates. This is made possible by tools like Revision, which can create a new image every time the diagram changes.
Revision's feature allows for automatic updating of the image in platforms like the Azure DevOps wiki. This means that as the diagram evolves, the linked image will also be updated, ensuring that the information remains accurate and up-to-date.
Having a dynamic image can be particularly useful for collaborative projects, where multiple team members are working on the same diagram. It eliminates the need for manual updates and ensures that everyone is looking at the latest version.
Revision's linkable images can be easily shared and accessed from platforms like the Azure DevOps wiki. This makes it easy to incorporate them into project documentation and keep everyone on the same page.
Sources
- https://learn.microsoft.com/en-us/azure/devops/release-notes/features-timeline-released
- https://www.evilcoder.org/posts/2024-02-27-azure-devops-mermaid/
- https://revision.app/blog/three-options-for-diagrams-in-azure-devops
- https://www.codecentric.de/wissens-hub/blog/getting-project-documentation-done-with-azure-devops-diagrams-with-plantuml
- https://codingwithtaz.blog/2021/02/13/azure-pipelines-architecture-diagrams-as-code/
Featured Images: pexels.com