Reputation: 40633
How do I make Workbench display the connecting lines between tables when I define relationships?
Upvotes: 24
Views: 72935
Reputation: 479
I had an issue generated a PNG with the relationship lines.
Environment
Solution:
Disable dark theme and regenerate the diagram then export the PNG.
Upvotes: 13
Reputation: 25133
You need to open reverse engineer: Database->Reverse engineer CTRL+R
Complete the wizard. It ask about the database to connect and other simple questions.
Just click Next
.
After wizard completion the MySQL Model
tab will be opened. Click there ERR Diagram
icon
Upvotes: 14
Reputation: 1271
MySQL Workbench has three options for relationship visibility settings:
It sounds like you need to switch from Draw Split to Fully Visible. Double click on the endpoint, such as the crows feet. On the Relationship tab of the edit window you will is the Visibility settings.
Upvotes: 1
Reputation: 4567
When you edit a table in an EER model, you will have a tab named Foreign Keys
that allows you to define well... the foreign keys. These foreign keys will be visible in the diagram.
You can change the settings for the displayed relationship by double clicking on the line that connects the tables.
Upvotes: 6