Learn how to create an interactive website from your Enterprise Architect model and thus make it available to a wide audience.
As I explained in my last post on model-driven documentation, we often find that our customers want to make their EA model available to a wider audience – not just those who are expert in modelling and in using EA, but also to the domain experts who need the information in the model.
Our solution to this is to automatically generate user-friendly documents and websites from such models. This approach provides several advantages:
- The Enterprise Architect modeling software is no longer necessary to view the model. All a user needs is a modern browser, which nowadays nearly everybody can access.
- To support users without modeling knowledge, the website is extensible. New custom views can be added in several places. For example a customisable infobox can be be shown, when certain elements are clicked on and display attributes of the element or links to further information.
- The generator ensures that the website is always consistent with the model. You can start it from the EA Tools menu to update the website automatically. Even with a large model this only takes a couple of seconds. If you generate reports from your model, the generator can do this work as well and create links on the website.
To illustrate this process I have created a small video. The video demonstrates how to use a model to update the website and how to navigate using the tree view, the search field and custom links in the infobox.
The technology we use for this is quite straightforward:
- For the generator we use an inhouse-developed application, that transforms the model into JSON datafiles readable by the viewer application
Please let me know if you need more detailed information on our approach.