Reinitializes the ESD/SPD Web editor with a blank diagram.
.eraseDiagram()
editor = new ESDWeb(null, 'editorNode'); /* set editor properties here */ editor.startup();
In logic elsewhere:
editor.eraseDiagram();