This document is a simple example of web component provided for aa easy integration of guido in html pages. A <guido-viewer> tag is embedded in the html page. The template "template/guidoTemplate.html" provides the code to interpret the <guido-viewer> tag. The draw method uses the svg export.
You have to run it from an http server because most of browsers will reject the template import directive due to "Cross-Origin Resource Sharing policy".
You can use the python SimpleHttpServer: run "python -m SimpleHTTPServer 8000" from a shell. The server must be launched from the directory where libGUIDOEngine.js is. Next, direct your browser to http://localhost:8000
Your browser must support import files.