Automatic diagram generation is an extremely useful function, notably when massive code reverse operations are run, during which existing code is transformed into a model in order to analyze its design or documentation production.
The general problem with automatic diagram generation is “what elements to show, and how to present them?”. There is no general answer to this question. Modelio proposes a pragmatic approach, through a limited number of generated diagram types, whose contents and presentation are precisely defined, and whose usefulness and use can be predicted.
The automatic diagrams proposed by Modelio fit into the context of using Modelio for development tasks, with automatic diagrams focused on packages and classes.
The needs of users on this type of element can be split into two categories:
- The need to analyze the structure of the element, in other words, what is it made up of and what does it contain.
- The need to analyze the position of the element and its role within the system. In this case, it is a dependency analysis or impact analysis.
Automatic diagrams proposed¶
Currently, Modelio produces the following automatic diagrams: