A plugin for MagicDraw/Cameo 2024x that adds interactive, non-symbol diagrams for visual analysis of UML model relationships. Built with JxBrowser and D3.js.
Note: this project requires a working JxBrowser v8.x key to build!
The initial diagram type is a Chord Diagram that visualizes relationships between model elements as an interactive circular layout. Elements are displayed as arcs, and relationships between them are rendered as ribbons connecting the arcs.
Features:
- Filter by element type (Class, Block, Component, Interface, Package, etc.) with optional subtype inclusion
- Filter by relationship type (Dependency, Association, Generalization, Realization, Usage)
- Recursive traversal into nested packages
- Click arcs or ribbons to navigate to the corresponding element in the containment tree
- Toggle labels, legend, and orphan (unconnected) element visibility
- Settings auto-save per diagram instance
- MagicDraw/Cameo 2024x (2024.3.0 or compatible)
- Java 11
- Maven 3.x
- JxBrowser 8.0 license key (see example)
-
Clone this repository
-
Verify the MagicDraw installation path in
pom.xmlmatches your system:<md.path>/Applications/MagicDraw 2024xR3</md.path>
-
Configure the JxBrowser license:
cp src/main/resources/jxbrowser.properties.example src/main/resources/jxbrowser.properties
Edit the file and add your license key.
Build the JAR for testing:
mvn clean packageBuild a distribution bundle for Resource Manager installation:
./build_dist.shThis produces dist/visualizer-plugin-2024x-v1.0.0.zip.
Copy the built JAR and plugin descriptor into MagicDraw's plugins directory:
<MagicDraw>/plugins/com.jonbackhaus.visualizer/
magicdraw-visualizer-1.0.0.jar
plugin.xml
Restart MagicDraw.
- In MagicDraw, go to Help > Resource/Plugin Manager
- Click Import and select
dist/visualizer-plugin-2024x-v1.0.0.zip - Restart MagicDraw
- Open a MagicDraw project
- Right-click a Package in the containment tree
- Select Create Diagram > Chord Diagram
- Use the configuration panel on the left to set element type, relationship filters, and display options
- Click Refresh to render the diagram