-module are also cleared.</div></div><p>Informational messages are indicated in a similar matter on the same spot, but in a subtle gray color.</p><h3 id=module-interactions-through-the-context-menu>Module Interactions Through the Context Menu</h3><p>Each module has a context menu, providing the following options:</p><p><p class=page-image><a data-modal=bs-lightbox href=images/tutorials/introduction/ModuleContextMenu.png title="Context Menu of a module"><img id="Context Menu of a module" class="img-fluid rounded" src=images/tutorials/introduction/ModuleContextMenu.png alt="Context Menu of a module" title="Context Menu of a module"></a><figcaption class=figure-caption>Context Menu of a module</figcaption></p></p><ul><li><strong>Show Internal Network:</strong> <a href=glossary/#macro-module>Macro modules</a> provide an entry to open the internal network. You can see what happens inside a macro module. The internal network may also contain other macro modules. Changes in the internal network are applied to the currently running instance of yor module but not saved permanently.</li><li><strong>Show Window:</strong> If a module does not provide a User Interface, you will see the automatic panel, showing the module’s name. Modules may additionally have one or more windows that can be opened. You can also open the Scripting Console of a module to integrate Python.</li><li><strong>Instance Name:</strong> You can edit or copy the instance name. Renaming can be useful if the same module appears more than once in one network and/or if you want to access and distinguish the modules in your Python script.</li><li><strong>Help:</strong> The menu entry Help provides access to the Module Help pages and to an example network where the module is used. This example network often helps to understand which additional modules can be added to create your desired effect.</li><li><strong>Extras:</strong> Automated tests written for the specific module can be executed here. You can also run this module in a separate process.</li><li><strong>Reload Definition:</strong> In the case you are currently working on a module, you may need to reload the definition so that your changes are applied on the module (for example, attached Python scripts).</li><li><strong>Related Files:</strong> Related files allows a quick access to the modules <em>*.script</em> or <em>*.py</em> files. The files are automatically opened in <a href=glossary/#mevislab-mate>MATE</a> for editing. Changes on the .mlab file are applied permanently for your module.</li><li><strong>Show Enclosing Folder:</strong> This entry opens the directory where your module is stored.</li><li><strong>Grouping:</strong> Multiple modules can be clustered and the groups can be named. This adds clarity to the structure of your network. In addition to that, grouped modules can be converted to local or global macro modules easily.</li></ul><h3 id=Module_Connectors>Input and Output Connectors</h3><p>As the creation of a network requires connected modules, each module has input and output connectors, located on their top and bottom side. Data is transmitted from the output connector on the top side of one module to the input connector on another module’s bottom side.</p><p>Once again, three types can be distinguished:</p><div class=table-responsive><table class="table table-striped"><thead><tr><th><div style=width:330px>Appearance</div></th><th><div style=width:130px>Shape</div></th><th>Definition</th></tr></thead><tbody><tr><td><p class=page-image><a data-modal=bs-lightbox href=images/tutorials/introduction/MLMConnectorTriangle.png title="Triangle - ML Image"><img id="Triangle - ML Image" class="img-fluid rounded" src=images/tutorials/introduction/MLMConnectorTriangle.png alt=Triangle title="Triangle - ML Image"></a><figcaption class=figure-caption>Triangle - ML Image</figcaption></p></td><td>triangle</td><td>ML images</td></tr><tr><td><p class=page-image><a data-modal=bs-lightbox href=images/tutorials/introduction/MLMConnectorHalfCircle.png title="Circle - Inventor Scene"><img id="Circle - Inventor Scene" class="img-fluid rounded" src=images/tutorials/introduction/MLMConnectorHalfCircle.png alt=Circle title="Circle - Inventor Scene"></a><figcaption class=figure-caption>Circle - Inventor Scene</figcaption></p></td><td>half-circle</td><td>Inventor scene</td></tr><tr><td><p class=page-image><a data-modal=bs-lightbox href=images/tutorials/introduction/MLMConnectorSquare.png title="Square - Base Object"><img id="Square - Base Object" class="img-fluid rounded" src=images/tutorials/introduction/MLMConnectorSquare.png alt=Square title="Square - Base Object"></a><figcaption class=figure-caption>Square - Base Object</figcaption></p></td><td>square</td><td>Base objects: Pointers to data structures</td></tr></tbody></table></div><svg style="display:none"><symbol id="check-fill" fill="currentColor" viewBox="0 0 16 16"><path d="M16 8A8 8 0 110 8a8 8 0 0116 0zm-3.97-3.03a.75.75.0 00-1.08.022L7.477 9.417 5.384 7.323a.75.75.0 00-1.06 1.06L6.97 11.03a.75.75.0 001.079-.02l3.992-4.99a.75.75.0 00-.01-1.05z"/></symbol><symbol id="info-fill" fill="currentColor" viewBox="0 0 16 16"><path d="M8 16A8 8 0 108 0a8 8 0 000 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194.0.487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703.0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 110-2 1 1 0 010 2z"/></symbol><symbol id="warning-fill" fill="currentColor" viewBox="0 0 16 16"><path d="M8.982 1.566a1.13 1.13.0 00-1.96.0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889.0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535.0.954.462.9.995l-.35 3.507a.552.552.0 01-1.1.0L7.1 5.995A.905.905.0 018 5zm.002 6a1 1 0 110 2 1 1 0 010-2z"/></symbol><symbol id="danger-fill" fill="currentColor" viewBox="0 0 16 16"><path d="M8.982 1.566a1.13 1.13.0 00-1.96.0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889.0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535.0.954.462.9.995l-.35 3.507a.552.552.0 01-1.1.0L7.1 5.995A.905.905.0 018 5zm.002 6a1 1 0 110 2 1 1 0 010-2z"/></symbol></svg><div class="alert alert-primary alert-info d-flex align-items-center" role=alert><svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Info:"><use xlink:href="#info-fill"/></svg><div><b>Info: </b>
0 commit comments