Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to get started with realizing your own diagrams by means of KLighD we suggest to install our layout infrastructure into your Eclipse development environment as shown in the following picture (the GMF runtime is available in Eclipse modeling distributions anyway). This reduces the plugins you need to checkout in to workspace. In case your you're interested in creating state machine diagrams we suggest you are encouraged to install the Graphviz support, too. The Note that employing Graphviz requires to also install the native library, see http://www.graphviz.org/ The OGDF support brings optimized layout algorithms, e.g., for class diagrams.

...

Clone our git repository called 'kieler-pragmatics' accessible via http://git.rtsys.informatik.uni-kiel.de/scm/KIELER/pragmatics.git (you need to create an account on that portal first). Afterwards, import the following plugins into your workspace:

  • de.cau.cs.kieler.core.krendering
  • de.cau.cs.kieler.core.krendering.extensions
  • de.cau.cs.kieler.klighd
  • de.cau.cs.kieler.klighd.examples (you won't need it at runtime but it contains some exemplary diagram synthesis implementations)
  • de.cau.cs.kieler.klighd.piccolo
  • edu.umd.cs.piccolo

Create a simple diagram synthesis implementation like those of the 'examples' project, you need not to use Xtend, pure Java is also fine. Register your transformation via the 'modelTransformation' extension point, see the plugin.xml of the 'examples' project on how to to that.

Now you only need to call DiagramViewManager.getInstance().createView(<someViewId>, <someViewTitle>, yourModel);, e.g., via a menu entry.

Use Cases

  • 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

...