Creating a model

The model is your way of defining your data structure in Daana. It is a visual representation of your data, showing how different entities are connected and what attributes they have.

To create your model, follow these steps:

  1. Go to the Models tab.

  2. Click New.

  3. Give your model a name. (This name can be changed later).

  4. You will see an empty canvas. Add your first Entity by dragging it from the nodes panel in the top right onto the canvas.

  5. Provide a name for your Entity. This may be the name of a table in your database, or a logical grouping of attributes.

  6. Add attributes to your Entity by clicking the Add Attribute button in the bottom of the entity.

  7. Expanding the entity using the arrow in the top right will show the option to provide a data type for each attribute.

  8. Once you are happy with the model, or if you wish to take a break, save the model using the button in the bottom right.

Potential pitfalls

  • Validation errors: If you see a red exclamation mark in the bottom right of the canvas, it means there is a validation error. Expand the validation panel to see what the error is and how to fix it.

  • Lost work: If you navigate away from the model without saving, your work will be lost. Make sure to save your model before leaving the page.

Last updated

Was this helpful?