The Web Export module can be used to generate a static HTML export of an
To export current project to HTML, use Export to HTML in the Export Panel of the Import Export Category. A simple popup dialog would appear, allowing to specify export options.
- Output folder: path where to export files. A new sub-folder with the same name as the current project will be created in it; if there is already such sub-folder, name would be indexed.
- Animate flows: if checked, SVG animation would be added to flow images
- Show objects without children in tree: if checked, objects without children would be shown in the tree (left pane) and be selectable. This option can significantly increase export time.
- Run export in separate process: new option appeared in version 3.2.5. If enabled, a separate process would be started to do actual export. This could reduce export time on big projects.
You won't be able to see the result in any Browser if the export is not uploaded on a server. Opening files locally will cause a security breach due to communication between the different frames of the web page.
1/ Launch a web server on specific port
e.g. and having python installed
2/ Use browser for localhost on the given port
3/ In the browser navigate to html export directory and click on file to load it
Modern browser with JS and SVG support is required.
Developers could see page Export HTML Data for instructions for programmatic export of HTML with Python scripts.