Norwegian University of Science and Technology

Global navigation

This is an old revision of the document!

User guide

The user guide explains how to install and use the tool for editing and running Diamodl models. It does not provide an explanation of the language (see Diamodl language instead), although some guidance for how to use the constructs are given.

For the latest version(s) and installation instructions, see downloads.

Creating a Diamodl document

A wizard is provided for creating Diamodl documents. Select File→New→Other… and select Examples→Diamodl diagram (filter on “diamodl” to make it appear quickly). The wizard will ask for the location, and the name of the diagram and model files, which together make up the Diamodl document. The diagram file contains the visual information of the model elements, like position and size, and should have the “diamodl_diagram” extension. The model file contains the semantic elements, like the interactor hierarchy, and should have the “diamodl” extension. Both should have the same base name, e.g. example1.diamodl_diagram and example1.diamodl. Upon finishing, the Diamodl document is created and the graphical editor opened.

Editor and views

The graphical editor consists of a toolbar, diagram editing area and a tool palette. The direct manipulation tools in the palette are used for creating and editing model elements, like variables, interactors and gates, computations and connections. Some important features of the elements must be edited using the Properties view. In addition, there is an Outline view, which shows a thumbnail of the diagram and supports panning.

2007/11/05 23:35, Hallvard Trætteberg
NTNU, NO-7491 Trondheim. Telephone: +47 73 59 50 00. Contact us
Editorial responsibility: