The KIELER Lightweight Diagrams project aims at offering transient lightweight representations of models or parts of them, without incorporating complex editing facilities like graphical editors.
Instead graphical or textual representations are to be synthesized from a chosen fraction of a model base and dismissed if they are not needed anymore. This way the Model-View-Controller paradigm (MVC) shall be established at the users' front end of modeling tools. Although KLighD is intended to address graphical as well as textual transient views, the graphical ones are currently in the focus. The layout of those views is contributed by KIML.
In order to build up your own diagrams by means of KLighD we suggest to install some of our provided features:
- KIELER Lightweight Diagrams – Developer Resources & Examples:
This feature includes KLighD's & KIML's runtime as well as a few developer tools (e.g. a convenient project wizard) and a few prepared example diagram synthesis implementations. Besides, all source bundles will be installed.
- KIELER Layout – Graphviz support (optional):
This feature enables the employment of Graphviz' layouters,
dotis very popular for simple graphs with edge labels. Note that employing Graphviz requires to also install the native library, see http://www.graphviz.org/
- KIELER Layout – OGDF support (optional):
This feature enables the employment of OGDF' layouters, its
planarizationis the recommended algorithm for arranging UML Class Diagrams. The required OGDF Server Binaries will be automatically installed, too!
Now you only need to call
DiagramViewManager.getInstance().createView(<someViewId>, <someViewTitle>, yourModel);, e.g. via a menu entry, and your diagram will show up.
- Graphical representations of given models with at chosen level of detail on demand (querying);
Example: Visualization of data structures:
- Continuous maintenance of a graphical representation while a model is elaborated
- Advanced navigation