Scenarios Model

You can begin the process of modeling right in the Scenarios tool. When a new Scenario Set is created, there is no associated data model. Once you associated a data model with a Scenario Set, the Data Model panel on the right hand side of the window will appear. Expanding this panel will show you the data model canvas where you can start editing the model.

To associate a data model, you can:

  • Create a model: Use the Model > Create Model menu item to create a new model. A model will be created with the same name as your Scenario Set.

  • Choose a model: Use the Model > Choose Model menu item or the Change Model button to choose a model. Either mechanism will bring up the Load Model dialog. Click on a model to associate that model to the Scenario Set.

Model Display

For a new model, the model canvas will be initially blank. For an existing model, the model will be loaded into the canvas. Currently, properties are not shown in the model canvas. To add properties, use the Model tool.

Model Editing

You can add new nodes to the model canvas one of 2 ways:

  • + Node Label button: Use this button to add a Node Label to the canvas.

  • Selected scenario text: Select some text in a Scenario. You can select text in the same manner you select text in a text editor. Once text is selected, 2 buttons will appear below the selected text:

    • Add Node Label: Click on this button to add the selected text to the model as a new node

    • Add Relationship Type: Click on this button to add the selected text to the model as a new relationship.

Relationships can be added using the Add Relationship Type button above, or by creating a relationship between 2 existing nodes in the canvas using your mouse. Click here for more information on adding a relationship using your mouse.

The text of nodes and relationships can be edited by double clicking the item and updating the text. For more model editing information, click here.

Usage Notes

The intention of placing a reduced version of the modeling tool here is to help jump-start the modeling effort when speaking with domain or business experts. Here you can capture the "whiteboard" version of the model and then refine it later in the Model tool with detailed properties, constraints, and indexes.

Later, when you associate Cypher statements to your Scenarios, you can click on them and see what parts of the model are used by the Cypher statement. This shows which parts of the graph are used to answer a specific Scenario.

If you click on a Cypher statement to highlight the relevant parts of the model, you can use the Clear Highlights button to turn off the highlights.