
Introduction
Sparx Systems’ Enterprise Architect (EA) is one of the most extensible modeling platforms in the enterprise space. At the heart of its customization capabilities lies MDG Technology—a powerful mechanism that allows architects and modelers to define, extend, and enforce modeling standards, visual styles, and tool behaviors tailored to specific business or technical domains.
In this article, we’ll explore what MDG Technologies are, why they matter, and how to design and deploy your own MDG Technology in Sparx EA. This guide is perfect for solution architects, enterprise architects, tool administrators, and modeling leads looking to enhance modeling governance and productivity across their teams.
1. What Is MDG Technology in Sparx EA?
MDG stands for Model Driven Generation. An MDG Technology in Sparx EA is essentially a packaged extension that allows you to:
- Define custom stereotypes and UML profiles
- Create toolboxes with reusable modeling elements
- Customize diagram types, rules, and element icons
- Generate code, reports, or structured output
- Integrate with external systems (via scripts or add-ins)
These packages are loaded into EA as XML files (or zipped) and can be shared across teams or published to a centralized repository using Pro Cloud Server.
2. Why Use MDG Technology?
Using MDG Technologies in EA delivers strategic benefits such as:
- Standardization: Enforce modeling best practices and domain-specific templates
- Scalability: Share consistent modeling artifacts across teams and projects
- Automation: Leverage tagged values, quicklink rules, and generation templates
- Governance: Integrate with reviews, validations, and change control
3. Components of an MDG Technology
A typical MDG package may include:
- UML Profiles: Define stereotypes and constraints (via Class diagrams with stereotypes)
- Toolboxes: Custom palettes for your elements and connectors
- Diagram Types: Define custom diagram styles, backgrounds, and layout behavior
- Quicklinker: Define allowed relationships between elements
- Templates: RTF, HTML, XSLT, or code generation templates
- Scripts: JScript, VBScript, or JavaScript-based helpers
4. Building an MDG Technology Step-by-Step
To build your own MDG:
- Create a new model with a UML Profile diagram
- Define your stereotypes using UML classes and set their base metaclass (e.g., Class, Component, Actor)
- Use the UML Toolbox Profile to organize your toolboxes
- Define custom diagram types in a “Diagram Profile” and associate your toolbox
- Optionally, create a “Quick Linker” CSV file to control connections
- Go to Specialize > Technologies > Publish > Technology Wizard to generate the .XML
- Deploy it using the MDG Technologies manager in EA
5. Deploying and Sharing MDG Technologies
Once your MDG XML file is ready, it can be deployed:
- Locally: By placing it in EA’s
AppData\Sparx Systems\MDGTechnologiesfolder - Enterprise-wide: Publish via Pro Cloud Server so all users have access
- Bundled: Include in an EA Project Template or RAS asset library
6. Advanced Features
MDG Technology supports:
- Custom Code Generation: via EA’s built-in code generation framework
- Image assets: Icons for new elements, toolboxes, and diagrams
- Model Validation Rules: Enforce business logic during modeling
- Custom Templates and Scripts: Auto-fill tagged values or validate inputs
7. Best Practices
- Modularize profiles by domain or team
- Document stereotypes and toolboxes clearly
- Include example diagrams in your MDG project file
- Use versioning: update MDG XML filenames with version numbers
- Test on sandbox projects before enterprise rollout
Conclusion
MDG Technology empowers Sparx EA users to customize the modeling environment, enforce standards, and extend capabilities across disciplines. Whether you’re creating a custom framework for banking, telecom, defense, or pharma, MDGs make EA the backbone of your enterprise modeling strategy.
MDG Technology, Sparx Enterprise Architect, EA MDG Customization, UML Profiles, Stereotypes, Custom Diagrams, EA Toolbox Profiles, Quick Linker, EA Code Generation, EA Governance Modeling
If you’d like hands-on training tailored to your team (Sparx Enterprise Architect, ArchiMate, TOGAF, BPMN, SysML, or the Archi tool), you can reach us via our contact page.