Version 2.0 release of System Model Generator, which draws 3.x syntax system definition files
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Generated by Xbuild version: 5.0.20 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="show-comments" content="" />
<title>System Model Generator Command-line Options in Reference</title>
<link href="../../_stock/css/reset.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/portal.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/iefix.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/ui.tabs.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/developer.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/ui.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/sysdoc.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/sdlplugin.css" media="screen" />
</head>
<body>
<div id="main_content">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="100%">
<div id="main_content_txt">
<div class="main_content_padding">
<div id="main">
<div id="authoredContent">
<a name=""></a>
<h1 id="smm%2eref%2ecommandlineoptions%2dindex">System Model Generator Command-line Options</h1><p>
This section lists the various command-line options that you can use to
create a system model diagram.
</p><p>
The following is the syntax to use a command-line option:
</p>
<p class="CommandLine">
<code>
SysModGen <span class="aux">[…</span> <var>Arguments</var> <span class="aux">…] [</span><var>Transform</var> <var>Data-file</var> <span style="color:blue; font: sans">] …</span>
</code>
</p>
<p>The basic <var>Arguments</var> 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.
</p>
<ul>
<li>
<p><code><var>Transform</var></code> is an XSLT transform which operates on the generated SVG and takes
<code><var>Data-file</var></code> as the Data XSLT parameter.
</p><p>There are four
built-in transforms, plus a framework to simplify creating new transforms.
<ol>
<li>css2xml.xsl will convert all <code class="xml"><style></code> sections into <code>style</code> attributes. This makes the model show up better on viewers that don't support classes. It takes no data files.</li>
<li>dependencies.xsl will take a dependencies file and add mouse-over dependency lines to the diagram. This is called automatically when using the <code>-deps</code> option.</li>
<li>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.</li>
<li>tovisio.xsl will convert the system model SVG in Visio VDX format. Not all features are supported. It takes no data files.</li>
</ol>
The postprocess.xsl XSLT simplifies adding mouse-over effects to a system model SVG .
</p>
</li>
<li><code><var>Data-file</var></code> 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 <code>-</code> 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</li></ul>
<p>
<b>Note</b>: Command line options override values in the INI file and a Model XML file.
</p><ul class="indexlinks">
<li>
<a href="Basic-Options.html#Basicoptions">Basic Options</a></li>
<li>
<a href="Build-Control-options.html#BuildControl">Build Control Options</a></li>
<li>
<a href="Files-or-uri-options.html#fileorurioptions">Files or URIs Options</a></li>
<li>
<a href="Labels-options.html#labeloptions">Labels Options</a></li>
<li>
<a href="Model-Control-options-ref.html#modelcontrol">Model Control Options</a></li>
</ul>
</div>
<div id="printer_copyright">
<div id="printer_copyright_padding">
Copyright ©2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<div style="clear: both"></div>
</div>
<div id="includedFooter">
<div id="devnet_footer">
<div style="float: left;">Copyright ©2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>. </div>
<div id='BUILD_VERSION'></div>
</div>
</div>
</body>
</html>