Associations

Now, we're going to see how to create an example association between these two entities:

Two entities: purchase and product

Create association

To create the association, click on the Add new association button or press 8 on your keyboard.

Add new entity button

Then, drag from one entity to another, and the association will be created between them.

Created association

Now it's plain. Let's rename it and add attributes to it. Go to the right panel

Created association

Now it looks better. This options work in the same way as for entities, so if you haven't read about them, be sure to check out this article.