Model in 3D

From CaseTalk Wiki
Jump to: navigation, search

Model in 3D

Available from CaseTalk 15.3.

View → Reports → In 3D opens the model that is open as a three-dimensional "molecule" in a CaseTalk tab. Where a fact diagram lays the model out on paper, this view lets you turn it, pull it apart and follow its connections.

Part of the EU-Rent model in 3D, coloured by kind

What you see

  • Atoms are the types: object types (filled), fact types (white) and label types (small, at the edge).
  • Bonds are the roles: every role connects a fact type with the type that plays it. Uniqueness and totality constraints are marked on the bonds, and subtype roles are drawn as such.
  • A label type that plays several roles is drawn once per role by default, so the leaves stay at the edge of the molecule. The Labels switch draws such a label type once, shared, or hides the label types altogether.
  • Colour by kind (the default), by the task status of the types, or by namespace - the model each type came from.
  • A flat cartoon look with black outlines by default; glossy is the alternative.

The view shows the fact-oriented core of the model. Concepts, containers, paragraphs and rules are left out.

Working with the view

  • With a diagram active, the view starts on the types of that diagram and the menu item reads In 3D (<diagram>). A list in the view switches to the whole model or to another diagram.
  • Click a type: it lights up with everything it connects to, and the panel shows its expressions and its population, verbalised.
  • With one type selected, click a second one: the shortest routes between the two are drawn and read out as expressions, so "how does a Rental relate to a Car Model?" answers itself.
  • Drag atoms to rearrange; the rest of the molecule follows.

The labels, colouring and look you choose are remembered for the next time.

In the Portal

A published model's page in the CaseTalk Portal offers an In 3D button next to the ELM canvas. It opens the same view of that published version, with a list to start on one of its diagrams. The Portal serves the view and its 3D library itself, so no internet connection is needed there. The button is switched on per Portal with the setting portal / 3d (off by default).

Notes

  • In CaseTalk the 3D library is loaded from the internet; without a connection the tab stays empty.
  • The view is drawn from the model's JSON document only; it needs no transformation of the model and works on any model that opens.


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