Description
It would be pretty intuitive to create a relationship between two entities by clicking and dragging between the nodes. React Flow already supports this action. I originally did not support this because I thought it would be hard to validate which relationships are valid between two given entities. Multiple people suggested it so it would be good to implement eventually.
Acceptance Criteria
When clicking and dragging between two entities, have the ability to create a relationship. It will have a modal where you choose the type of relationship and data. Only the valid types of relationships between those two entities should be available when selecting.
Description
It would be pretty intuitive to create a relationship between two entities by clicking and dragging between the nodes. React Flow already supports this action. I originally did not support this because I thought it would be hard to validate which relationships are valid between two given entities. Multiple people suggested it so it would be good to implement eventually.
Acceptance Criteria
When clicking and dragging between two entities, have the ability to create a relationship. It will have a modal where you choose the type of relationship and data. Only the valid types of relationships between those two entities should be available when selecting.