Modeler:15/DiagramDesigner

From CaseTalk Wiki
Jump to: navigation, search

Diagram Designer Window

This window allows a visual feedback of the model stored in the repository. Adding or removing objects from this diagram does not influence the model.

Diagram

You may easily switch the diagram to different visual styles and setup by using the brush button on the top-right. It shows a menu to save, load or alter the options. Once you've setup several styles, you can use this same menu to switch styles.

Selecting

Fact Types can be dragged into a diagram from the repository using the mouse. Selections inside the diagram itself can be made using the three different selection modi (Ctl + 1,2,3):

  1. Select OTFT. Use Shift while clicking to toggle individual OTFT's
  2. Select Role. Use Ctrl while clicking to toggles individual Roles
  3. Select a Role. Using Alt while clicking a single Role for reordering during dragging. (This only works in versions before 9.6. After that version roles are automatically positioned depending on the PlayedByOT part. The position can be changed using the relative positioning of the PlayedByOT parts, or by inserting a breakpoint in that line going out.)

Keyboard Control

(v12.6+)

  • A focus is on one element at a time.
  • The focused item can be toggle in and out of the total selection using the Spacebar.
  • The focused item can be changed using mouse or arrows on the keyboard.
  • The selection can be moved with Alt+Arrows on the keyboard.
  • The shapes and images can be resized using Shift+Arrows.
  • Pressing Escape brings the focus to any outlining container, group or shape.
  • Scrolling with the (Shift+) mouse scrollwheel is now possible.
  • The focused item can be moved directly using Alt+Shift+Arrow.

Styles

The visual properties for the diagram can be altered quickly using styles. The Diagram options can be adjusted per style, and the styles are changeable using the button with the paintbrush icon.

It shows a popup menu to edit the options, save the current style, or choose one of the existing styles as previously saved. The special style called 'Default' will be used for new diagrams.

Verbalizations

The Verbalizations tab reads the diagram out loud: every type on the diagram with its expressions, its rules and its description, drawn the same way as the Expression File window draws them - type names as titles, an icon for each kind of expression, a flag for another language, counter examples struck through and unconfirmed examples in italics.

Diagram style or a profile

The button at the top of the tab chooses how the diagram is verbalized:

  • Diagram style (the default) - follows the style of the Fact Model tab: which expressions and how many examples it shows.
  • A profile - any profile you saved in Generate Expressions: for domain experts, analysts or scenarios, with or without rules, comments or questions, in one language or all. A profile never widens what is shown: it is always just the types on this diagram.

The choice is remembered with the diagram's window.

Options...

Options... in the same menu opens the Generate Expressions options as Verbalization Options, for this diagram only. While you change them, the tab shows the result. OK keeps them in the profile (or asks a name for a new one when you started from the diagram style); Cancel leaves the tab as it was.

When the profile names no language, the tab uses the language the diagram is displayed in.

Working with the lines

  • Double-click a type name to find it on the diagram; double-click an expression to show its type in the Expression Viewer.
  • Copy gives the selected lines (or all of them) as formatted text for documents and e-mail, and as plain text.
  • Search finds the next line containing the text.

Tip: Ctrl+R turns Auto-route Lines on and off on the Fact Model.

Notes

This tab allows rich text to be entered where recognized words are hi-lighted. The words recognized may be a name of a diagram or fact types. This automagic linking happens without any intervention. Name changes in the project or model may remove or add links.

The hyperlinks will be automatically created by CaseTalk. It may link to matching diagram names or type names in the model. A click on such a hyperlink will navigate you to the matched item.

Generated Tabs

Next to the Fact Model, Verbalizations and Notes, a diagram window has tabs that draw the types on the diagram in another notation. They are generated from the model:

  • Logical Model - the tables of the model transformation (GLR).
  • UML Classes - the types as classes, attributes and associations.
  • Concept Map - the concepts and how they relate.
  • Object Types - the object types and their identification.
  • Knowledge Graph - the model as a graph of nodes and relations.
  • ArchiMate - the concepts and containers with an ArchiMate concept type.
  • Star Schema - facts, dimensions and measures, read from the model without a transformation. A binary many-to-many fact type that relates a fact or a dimension to another dimension is proposed as a bridge table (lilac, v15.3+). It refers to both sides; a number on it is its weighting factor. Star.Kind = Bridge makes any fact type a bridge, and the other decisions overrule the proposal.
  • Ontology - the model as an ontology (VOWL).

Most of these use the Java runtime that is included with the installation (See Installation). A tab that cannot be drawn right now is greyed out.

Showing and Hiding Tabs

(v15.3+) Right-click the tabs at the bottom of a diagram window to choose which generated tabs are shown. A hidden tab is not drawn, which saves time when only a few notations are needed. The choice is the same for every diagram window; Show All Tabs brings them all back. A tab that is shown again is redrawn the first time it is opened.

The same list is in Tools Preferences, Reports and Output, Diagrams. When the diagram is saved, the picture of a hidden tab is removed, so the report does not show an outdated one. A picture that was saved before the latest change to the model is listed under Outstanding Changes in the report.


Other versions: v8 | v9 | v10 | v11 | v12 | v13 | v14 | v15


Diagrams
Dialogs Diagram Designer · Diagram Options · OFType Editor · OFType Filter · OFType Table Editor · Fact Documentation
Reference Other Diagrams · Model in 3D · UML Methods