Next: Command-line GUI, Previous: Embedding a Chart in a Document, Up: Getting started [Contents]
The command line version of Msc-generator runs on both Linux and Windows. On Windows it is installed to the same directory as the windowed application. That directory is included in the PATH, so you can call it from anywhere.
The command line version of Msc-generator supports PNG, PDF, EPS, SVG file formats, and EMF on Windows. It can read only signalling charts on Linux, since there it is easy to get native graphviz support.
To use Msc-generator to generate a signalling chart from a text file (containing a singalling chart description in the appropriate language) simply type
msc-gen -T pdf inputfile.signalling
To use Msc-generator to generate a graph or block diagram from a text file (containing a graph description in the DOT or block languages, respectively ) simply type
msc-gen -T pdf inputfile.graph
or
msc-gen -T pdf inputfile.block
All of these will give you inputfile.pdf
. You can change ‘pdf’ to get the
other file formats. If you omit the ‘-T’ switch altogether, a PNG
will be generated.
If Msc-generator has successfully generated an output, it prints ‘Success.’. Instead, or in addition, it may print warnings or errors, when it does not understand something.