System Model Generator Command-line Options

This section lists the various command-line options that you can use to create a system model diagram.

The following is the syntax to use a command-line option:

SysModGen [… Arguments …] [Transform Data-file ] …

The basic Arguments appear first, followed by an optional list of post-procesing transformations. The post-procesing transformations are pairs of files (described below), which operate on the generated SVG, in order, from left to right.

  • Transform is an XSLT transform which operates on the generated SVG and takes Data-file as the Data XSLT parameter.

    There are four built-in transforms, plus a framework to simplify creating new transforms.

    1. css2xml.xsl will convert all <style> sections into style attributes. This makes the model show up better on viewers that don't support classes. It takes no data files.
    2. dependencies.xsl will take a dependencies file and add mouse-over dependency lines to the diagram. This is called automatically when using the -deps option.
    3. showdeps.xsl will further process a diragram with dependencies to make them always on, rather than only on when an item is moused-over. It takes no data files.
    4. tovisio.xsl will convert the system model SVG in Visio VDX format. Not all features are supported. It takes no data files.
    The postprocess.xsl XSLT simplifies adding mouse-over effects to a system model SVG .

  • Data-file is an XML file, or one of two special values. The empty string ("") means there is no data file to supply to the XSLT transfom and - means that the full model input data should be used as the data file. Any other value is assumed to be a file or URL

Note: Command line options override values in the INI file and a Model XML file.