Create a Simple View

On Dragon1 you can filter models making use of views.

Creating a View

To create a view:

  • Make sure you have created a model, for example, existing out of processes and applications
  • Select a folder
  • Click on 'Insert View' in the Menu Bar
  • Enter a name for the View
  • Click on OK
  • Click on Edit in the Menu Bar
  • Select the model on the first TAB (at the bottom)
  • Go to the Behavior TAB
  • Enter a rule
    • Type in onload in the rule event field
    • Type in Entityclass=Application in the rule condition field
    • Type in Show(name) in the rule action field
  • Click OK

If you select the view in the Explorer Treeview, for instance you will the processes of your model filtered out

Now select your model and select an application. Enter the value finance in the ref field of one of the applications and the processes and save your model.

Change your rule condition to Entityclass=*&Ref=sales

Now you will see that only the process and application with the reference field value finance are shown.

We have many more type of rules you can set up for views.

Read them all on this page Working with Views

Example Screenshots

Screenshot showing a model, where a shape has been given a Ref value of Finance.



Screenshot showing a model, where a shape has been linked to the Class Process. For the Dragon1 tool this shape now has become a Process. The views look for the Class name to filter things on.



Screenshot showing how to setup a view to filter out all non-Applications.



Screenshot showing the view that filters out everything that is not an Application.



Screenshot showing how to setup a view to filter out all non-Finance references.



Screenshot showing the view that filters out everything that is not referenced as Finance.

If you change the model by changing the name of an entity, adding an application or referencing something else as Finance, you will see that the views are automatically updated.