Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving a relationship arrow in an EER diagram in MySQL Workbench's data modeling tool?

Is there any way to move a relationship arrow in an EER diagram in MySQL Workbench's data modeling tool? (without having to move or resize any table)

E.g. before:

enter image description here

After:

enter image description here

like image 272
Franck Dernoncourt Avatar asked Jul 21 '14 16:07

Franck Dernoncourt


People also ask

How do I display relations in MySQL?

To see foreign key relationships of a column: SELECT TABLE_NAME, COLUMN_NAME, CONSTRAINT_NAME, REFERENCED_TABLE_NAME, REFERENCED_COLUMN_NAME FROM INFORMATION_SCHEMA. KEY_COLUMN_USAGE WHERE REFERENCED_TABLE_SCHEMA = 'db_name' AND REFERENCED_TABLE_NAME = 'table_name' AND REFERENCED_COLUMN_NAME = 'column_name';

What is EER diagram in MySQL?

Enhanced Entity-Relationship (EER) diagrams are an essential part of the modeling interface in MySQL Workbench. EER diagrams provide a visual representation of the relationships among the tables in your model. Revisions made with the Model Editor are shown in the associated diagram.

How do I show relationships in MySQL Workbench?

(To view all the relationships in the sakila database, see Figure 9.35, “The sakila Database EER Diagram”.) Click the Properties tab of the panel on the lower left and then click one of the tables on the canvas. This action displays the properties of the table in the Properties window, as the next figure shows.


1 Answers

The relationships are laid out dynamically. You have only very limited control of that. The only layout adjustment you can do is to move the middle line in a 3-lines relationship:

enter image description here
enter image description here
enter image description here

Click on the line to make the grab handle visible and then drag that.

like image 173
Mike Lischke Avatar answered Sep 28 '22 04:09

Mike Lischke