Navigation : Overview Editor Integration Server Rasterization Templates Localization Upgrade Notes Samples What's New API Reference - ESDWeb Constructor - Properties - Methods -- addMenu -- clipboardContentChanged -- defineTemplateAction -- destroy -- eraseDiagram -- executeCommand -- executeCommandEx -- exportImage -- get -- getAttachmentPositionsInExpImage -- getDiagramMetadata -- hide -- initializeCommandEnabledState -- isDiagramDirty -- isDiagramEmpty -- load -- lookupVINS -- on -- set -- setDiagramMetadata -- show -- startup -- store - Commands - Events isDiagramEmpty isDiagramEmpty Method Description Returns true if the Web SDK editor contains an empty diagram. .isDiagramEmpty() Example /* example assumes editor is an initialized ESDWeb object */ if (editor.isDiagramEmpty()) { alert('Diagram is empty!'); } else { alert('Diagram is not empty!'); } isDiagramDirty load