dineug / erd-editor

Entity-Relationship Diagram Editor

Home Page:https://erd-editor.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

many to many?

MartinJohannessen opened this issue · comments

This is a great tool for learning data modelling, thanks!

BUT why is there no many to many relationship? And what is a zero to one relationship?

This tool is a physical database modeling tool.
N:M relationships are modeled as follows.
n_m

The relationship names like "zero one" refer to the states of the PK and the FK it's pointing to, not the PK state itself.

Exceptionally, the tool accommodates the Crow's foot notation for relationships.

If the relationship notation were purely physical, only the following notation would exist.
image

Thanks so much! This tool forced me to figure out good practices.