![]() |
|
sfDoctrineGraphvizPlugin - 0.2.0Doctrine database schema visualisation. |
|
Provides you with a task that output database MCD and MLD doctrine schema using the graphviz tool.
Install the plugin via the subversion repository by executing the following command from the project root directory (branch 1.4 of the plugin works for both 1.3 and 1.4 symfony versions):
$ svn co http://svn.symfony-project.com/plugins/sfDoctrineGraphvizPlugin/branches/1.4 plugins/sfDoctrineGraphvizPlugin
or by using the default symfony plugin install command:
$ ./symfony plugin:install sfDoctrineGraphvizPlugin
Simply type the following command:
$ ./symfony doctrine:graphviz
Files are created in two directories: doc/graph/mcd and doc/graph/mld. The former one stores following files:
* **mcd.schema.dot** : source of *"Modèle conceptuel des données"*
* **mcd.dot.png** : _dot_ image of *"Modèle conceptuel des données"*
* **mcd.neato.png** : _neato_ image of *"Modèle conceptuel des données"*
* **mcd.twopi.png** : _twopi_ image of *"Modèle conceptuel des données"*
* **mcd.circo.png** : _circo_ image of *"Modèle conceptuel des données"*
* **mcd.fdp.png** : _fdp_ image of *"Modèle conceptuel des données"*
while the latter one stores:
* **mld.schema.dot** : source of *"Modèle logique des données"*
* **mld.dot.png** : dot image of *"Modèle logique des données"*
* **mld.neato.png** : neato image of *"Modèle logique des données"*
* **mld.twopi.png** : twopi image of *"Modèle logique des données"*
* **mld.circo.png** : circo image of *"Modèle logique des données"*
* **mld.fdp.png** : fdp image of *"Modèle logique des données"*
You can simply choose between many different images to choose the one that is the most readabe for you.
You must have GraphViz installed on your system.