Sml4asy is a module for Asympote. Make UML diagram quickly from script.
Asympote Homepage: http://asymptote.sourceforge.net/
Copy "asy/*.asy" to a directory that Asympote will search for system files. Asympote will search the folloing paths, in the order listed.
- The current directory;
- A list of one or more directories specified by the configuration variable dir (separated by : under UNIX and ; under MSDOS);
- The directory specified by the environment variable ASYMPTOTE_HOME; if this variable is not set, the directory .asy in the user¡¯s home directory (%USERPROFILE%.asy under MSDOS) is used;
- The Asymptote system directory (by default, /usr/local/share/asymptote under UNIX and C:\Program Files\Asymptote under MSDOS).
Run asy examples/*.asy
to building examples.(output: eps/pdf)
See examples/*.pdf.
Source: HelloSML.asy Result: HelloSML.pdf
Source: Component.asy Result: Component.pdf
Source: CompositeParnttern.asy Result: CompositeParnttern.pdf
Source: SmlPackage.asy Result: SmlPackage.pdf