Feature Toggles
Feature Toggles
CaseTalk follows the FCO-IM method: facts are entered as sentences with examples, and the types, roles and constraints follow from them. Over the years CaseTalk gained commands that step outside that strict path, and features that are new and not yet proven. Rather than putting all of them in front of every user, they sit behind feature toggles: switches in Tools\Preferences, page Feature Toggles, that make a command or a feature visible when you want it.
What a toggle is, and is not
- A toggle is a preference of your CaseTalk installation. It is stored with your other preferences, not in a project or model. Two people working on the same model can have different toggles on.
- A toggle shows or hides commands and dialogs. It never changes a model by itself. Switching a toggle off again hides the commands; whatever you built with them stays in the model and remains valid.
- A toggle does not relax the method. The well-formedness rules check the model the same way whether a command was reached through a toggle or through expressions, so a fact type made with Create Fact Type still needs its expressions and examples before the model counts as complete.
- A few features have a second switch inside the model, because they change how the model itself must be read. Expression Unification is one: the toggle makes its menu item visible, and the menu item then switches the model. That second switch travels with the model file.
- The Defaults button of the page puts every toggle back to its shipped state, which is off for all of them.
The page has two groups. Enabled Features are proven commands that experienced modelers use to work faster or to restructure a model, mostly by creating types first and adding expressions later. Experimental Features are new; they work, but have not been used widely yet, so take precautions, such as a backup, when you switch one on for real work. Some experimental features exist only in the Beta edition, and their toggles are absent or greyed out in other editions.
Enabled Features
- Create Fact Type A new fact type whose roles are played by the items selected in the diagram.
- Create Object Type A new object type with a single role.
- Create Label Type A new label type that is not used by anything yet.
- Create Sub Type Create a new object type as a subtype of an existing one, and pick the fact types to move from the original object type to the subtype.
- Create Role Add another role to a generalized object type.
- Create Concept Add terms that have no fact or object type structure (yet). Their relations work like roles, to other concepts or to object and fact types. Concepts play no part in model transformations.
- Create Container Organize concepts and types in containers, for example to depict architecture levels or to group fact types into Data Vault satellites.
- Create Paragraph and Rule Add (sub)paragraphs of text, for example to document the model or after importing legislation. Activate View\Paragraphs afterwards.
- Edit multiple OTFTs Edit a set of types selected in the diagram or the vocabulary at once.
- Duplicate OTFT Duplicate copies the selected types; Duplicate On-To copies fact types from a source object type to a target object type.
- Reset Lineage (ID's) Every type has a technical key that recognizes it across diagrams and model files. This adds the menu items that reset those keys when the lineage must be cut.
- Alter Role Played By Change which type plays a role, from the context menu of a role in the diagram. An effective way to restructure expressions.
- Hide/Show Roles Draw objects and facts without their individual roles. This can also be set for a whole diagram with the diagram style Hide Roles.
- Multi Lingual Support Translate types and expressions, and switch diagrams between vocabularies: natural languages, technical languages or jargon. See Multi Lingual.
- Enable Snippets Store a selection in the diagram as a snippet and merge it into other models with File\Merge\Templates.
- Layout Engine The GraphViz engine used for diagram auto-layout: dot, neato, circo or twopi.
Experimental Features
- Expression Unification Substitute fact type expressions as well as object type expressions, and alter an expression between O (optional) and F (fixed). The toggle only shows the menu item Repository\Unified Expressions; that item switches a model. See Expression Unification.
- Customize with SQL Write your own well-formedness rules in SQL. See Custom SQL Rules.
- Diagram Overview A tab that shows how diagrams share elements.
- Create Entity Enter database-table-like information to build a fact model quickly. Article
- Logical Mappings Map catalogs onto the conceptual model in the Data Explorer.
- SQLite Engine Off/On For very large models some SQL operations take long. This adds Repository\SQLite Engine to switch the engine off temporarily.
- Show System Tables Show the SQL views CaseTalk uses on the repository, for advanced querying.
- Nameless Fact Types Qualify and classify expressions while the fact type stays unnamed.
- Docked Expression Input Dock the expression input, and add the preview of the work directly to the open diagram.
- Re-Qualify Expression Parts After classifying parts of an expression, select a larger part and name that too, for example name Person after firstname and surname, or the other way around.
- Promote Concepts Promote concepts with relations into an object and fact type structure.
- Extend with Schema.org Extend the model with types from schema.org. These are not curated for the fact oriented approach, but can help.
- Search Linked Data Extend the model with types found in linked data sources, next to schema.org.
- Fact Expressions with Concepts Use
<ObjectTypeName>in expressions. CaseTalk creates them as concepts or maps them to existing types, without concrete examples. - Delete Role Cut a role selected in the diagram out of the model and its expressions.
- RDF/OWL with SKOS Add SKOS definitions and notes to the RDF/OWL export.
- RDF/OWL with PROV-O Add provenance (who created and changed what, and when) to the RDF/OWL export.
- Mute Dialogs Suppress dialogs while audio is playing, for example during a presentation or a video call.
- Link Expression Parts Link expression parts to bookmarks in the expression tree, to explain a phrase from a concept or a paragraph.
- Population as FKs Edit populations only at the level where the values are entered, so editing a fact type population cannot accidentally insert object type tuples.
- Run Scenarios Run recorded GUI scenarios and drive the MCP tool logic inside CaseTalk.
- Modern Diagram Draw the FCO-IM and UML diagrams with the new native engine instead of the legacy drawing and PlantUML. Layout chooses how it places the boxes: layered (fewer crossing lines, like GraphViz), spring (a force simulation) or grid (rows).
See also
- Tools Preferences, the dialog that holds the toggles.
- Expression Unification, a feature with a toggle and a model switch.
- Custom SQL Rules, Multi Lingual, Snippets.
