Returns true if the ESD/SPD Web editor contains an empty diagram.
.isDiagramEmpty()
/* example assumes esdEditor is an initialized ESDWeb object */ if (esdEditor.isDiagramEmpty()) { alert('Diagram is empty!'); } else { alert('Diagram is not empty!'); }