eraseDiagram Method

Description

Reinitializes the ESD/SPD Web editor with a blank diagram.

Syntax

.eraseDiagram()

Example

editor = new ESDWeb(null, 'editorNode');

/* set editor properties here */

editor.startup();

In logic elsewhere:

editor.eraseDiagram();