Skip to content

it would be nice to allow the relationships to terminate at particular fields. #36

@windbender

Description

@windbender

Right now the relationships are table to table.
[users]
*id
name

[cats]
*id
name
owner_id

users 1--* cats
However inside a database, the relationships are expressed as a field to field. For example.

[users]
*id
name

[cats]
*id
name
owner_id

users:id 1--* cats: owner_id <----- THIS HERE IS WHAT IS DIFFERENT

It turns out that the dot language has a means of expressing the "port" to which a connecting line will connect. See page 20 of the follow doc: https://www.graphviz.org/pdf/dotguide.pdf. avoid the compass point concept and look at. the . things.

I realize this would not be backwards compatible since the

: notation is new. Perhaps there is a better technique to express this in the erd language.

Sorry no PR from at this time, I know nothing about Haskell.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions