From: <ki...@us...> - 2003-05-06 21:42:18
|
Update of /cvsroot/pymerase/Docs/output/modules In directory sc8-pr-cvs1:/tmp/cvs-serv14297 Added Files: CreateGraphvizUML.tex Log Message: CreateGraphvizUML output module docs --- NEW FILE: CreateGraphvizUML.tex --- % Pymerase Docs - CreateGraphvizUML % Copyright (c) California Institute of Technology % % Authors: Brandon King % $Revision: 1.1 $ % Modified $Date: 2003/05/06 21:42:13 $ \section{\cb CreateGraphvizUML} \subsection{\cb Description} CreateGraphvizUML uses the Pymerase API to generate a 'dot' file which can then be used by a Graphviz program called 'dot' to generate graphs which look similar to UML. This output module isn't really needed if you are using UML as the input source. If you are using the Table.dtd XML file format, then this module becomes useful for displaying your schema to the world. Once you have generated a '.dot' file, you use the following line to generate a '.ps' (postscript) file. \begin{verbatim} dot -Tps -o nameOfPsFile.ps nameOfDotFile.dot \end{verbatim} You should end up with something that looks like the image in Figure~1, which was taken from the xmiSchool example included with Pymerase. \begin{figure}[h] \includegraphics[width=\textwidth]{images/xmiSchool.eps} \caption{CreateGraphvizUML Example Output: xmiSchool Example} \end{figure} |