Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing how to paint in 1:1 relationships #169

Closed

Conversation

manudous
Copy link
Member

Closed #150

H ${originXMinusFork - TABLE_CONST.HORIZONTAL_LEFT_EXTENSION}
V ${endCoords.y}
H ${originXMinusFork}
`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong, one to on relationships can be between two different tables, see screenshot:

image

Please implement it in the way we mentioned, two separate components.

detect if is a recursive relations (fromTableId === toTableId)

Later one this nested relation will support one to many and many to one and one to one

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recursive relations are not properly drawn
2 participants