Back to Documentation

Editor Manual

The primary way to edit and interact with models in TinyModeler is called the Editor. This document describes each element of the editor and how to use it.

The Toolbar

When you open the Editor, you'll see toolbar at the top with the following buttons:

Normal Interaction

This button enables normal interaction with the model. This is the default interaction mode, and lets you move entities and relationships, as well as click them to open their dialogs.

Add Entities

In this mode, a new entity will follow the cursor as you move it across the model. When you click in the modeling area, the new entity will be added to the model.

Add Relationships

In this mode, a plus sign will follow the cursor as you move it across the model. When you click on an entity, a new relationship will be created and attached to that entity. Clicking on another entity connects the relationship and the plus sign returns.

Add Inheritance

In this mode, a plus sign will follow the cursor as you move it across the model. When you click on an entity, a new inheritance line will be created and attached to that entity. Clicking on another entity connects the line and the plus sign returns.

Delete Items

This button enables the delete interaction mode. In this mode, a delete icon will follow the cursor in the modeling area. When you click on an entity or relationship, it will delete that item following a prompt asking if you're sure.

Model Properties

This button opens the Model Properties dialog. This dialog lets you modify the name and description of the model being editied.

Take Snapshot

This button renders the model to a flat image and opens it in a new browser window.

Save Model

This button saves the model back to the TinyModeler server. Note that this button only works when you're editing one of your own models, not one of the TinyModeler demos.

Exit Editor

Exits the Editor and returns to the main TinyModeler site.

The Entity Dialog

When you're in normal interaction mode and click on the body of an entity, the Entity Dialog will appear.

entity dialog

From here, you can edit the entity's name and manage its properties and actions. The fields for each property are, in order:

Each action has a name and return type, along with zero or more arguments that each have a name and type.

The Relationship Dialog

When you're in normal interaction mode and click on a relationship, the Relationship Dialog will appear.

relationship dialog

From here, you can edit the following properties for each side of the relationship (link):