A plugin for MySQL Workbench Community Edition 6.x. This plugin allows you to generate an HTML data dictionary from a selected schema.
- Clone this repo to a working directory on your machine.
- Open MySQL Workbench and select Scripting -> Install Plugin/Module...
- Select the
datadict_grt.py
script, click OK, and restart Workbench - Open Workbench and a Model with an EED - Enhanced Entity Diagram
- Select File -> Export -> Export as PNG and save to an output folder with
schema_erd.png
as filename - Select Tools -> Catalog -> Generate HTML Data Dictionary
- Save file as
mySchemaName.html
in same output folder asschema_erd.png
- Copy the
legend.png
image to output folder - Open the file with your web browser and enjoy ;)
Most information about using Workbench Python scripting API is available in the Scripting and Plugin Development documentation:
http://mysqlworkbench.org/learn/learn/
The documentation on GRT Globals Tree and its classes is particularly useful:
http://mysqlworkbench.org/workbench/doc/globals/index.html
The original mercurial repository can be found here with additional documentation:
License: Public domain 2011 sirgazil. All rights waived.
Website: https://sirgazil.bitbucket.io/en/artifacts/wb-datadict/