Web Server for Magic Model Analyst is an optional free plugin. It allows Magic Model Analyst to export, open, use UI mockups, and control a model simulation on a web browser on any remote device. Both Magic Model Analyst and the Web Server plugin must be the same versions. Once the Web Server plugin has been installed, it will appear as Installed in the Resource/Plugin Manager and Environment Options dialogs.
The Web Server plugin for Magic Model Analyst to enable the Web UI features.
The Web Server plugin for Magic Model Analyst supports the following Web UI features:
- Web homepage displaying simulation configurations
- HTML files
- HTML table
- Control panel with restart function for Web UI
- Image Switcher on Web UI
- Plotting on Web UI
- Widgets on Web UI
To install the Web Server plugin for Magic Model Analyst
- On the MagicDraw main menu, click Help > Resource/Plugin Manager.
- Select Web Server for Magic Model Analyst and click Download / Install.
- Download and install the plugin according to the instructions.
- Restart MagicDraw.
To set a port number for the Web Server plugin
- On the MagicDraw main menu, click Options > Environment. The Environment Options dialog opens.
- On the left pane, click Simulation.
- Under the Web Server group, enter a new Port Number for the Web Server.
- Click OK and restart the Web Server.
Activating the Start Web Server property (true) in Magic Model Analyst before running a <<SimulationConfig>> automatically generates HTML files. When the Web Server has started, and the simulation is running, a hyperlink to each HTML file saved in the local project folder will appear on the Simulation Console tab, along with the URL of the Web UI. You can customize the content of the HTML files at any time and update files by using the Generate HTML button on the diagram toolbar of the UI modeling diagram.
Related page