Graph 1.0 - Gerd Wagner
The Graph plugin allows to create charts of tables and foreign-key relationships.
To create a graph select the tables in the Object tree and click the 'Add to graph' item in the right mouse menu. Right mouse click tables, constraints as well as the background to find out what functions the Graph provides. To open a table a foreign key points to just double click on the foreign key column. The plugin supports browsing through the table structure. Note: A Graph uses foreign keys to render dependency lines between fields in the tables. So, a child column which is a member of a foreign key to a parent primary key column in a different table will be shown on the graph when both tables are added in such a way that the child column has a line with an arrow pointing to the parent column. So, if you want to have the graph plugin show relationships visually, you must - for the foreseeable future - define foreign keys using regular SQL in SQuirreL.
To distribute and print a graph to several sheets of paper click the 'Zoom/Print' item in the backgrounds right mouse menu. The control panel at the bottom of the Graph enables you to scale the chart as well as the paper edges.
Note:
You can have several Graph tabs and you can give them meaningful names and save them. When the session is later re-opened, the previously saved graph tabs are restored.
The Graph plugin works best if you use the SQL Scripts plugin too. The SQL Scripts is available in the installer, or from within SQuirreL using the update feature.