Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any way to put in order automatically tables in Mysql Workbench diagram?

Hi have generated a new diagram connecting mysql workbench to database that already existed.

Now the tables are in a stack, one above each other, so i should drag and drop them to show a nice schema. But..is there any way to put in order automatically?

5.2.38

like image 527
user1077220 Avatar asked Jun 05 '12 09:06

user1077220


People also ask

How do I create a schema diagram in MySQL Workbench?

Open MySQL Workbench. Select File and New Model from the top menu. Select File, hover over Import, and press Reverse Engineer MySQL Create Script…. Specify the SQL file needing a diagram. Press Execute, Next, and then Finish.

How do I save a EER diagram in MySQL Workbench?

To open the table editor, either change back to the MySQL Model tab and right-click on the movies table, or right-click on movies in the EER diagram and select an Edit 'movies' option. Save the model by choosing File and then Save Model from the menu, or click the Save Model to Current File icon on the menu toolbar.


2 Answers

To auto arrange the tables go to menu Arrange -> Autolayout

like image 124
warvariuc Avatar answered Nov 22 '22 18:11

warvariuc


Go to

Model-> Diagram Properties and Size

There increase the size by pages to whatever you want. Then go to

Arrange -> Autolayout

This should help!!

like image 39
Manan Avatar answered Nov 22 '22 20:11

Manan