Closed samuelT2 closed 2 years ago
Describe the Bug
When running example.js, it produces an UnhandledPromiseRejectionWarning.
Steps to Reproduce
Expected Behavior
Write console output and save the file.
Fix
Line 68, add await: var layoutedDiagramXML = await autoLayout.layoutProcess(diagramXML);
var layoutedDiagramXML = await autoLayout.layoutProcess(diagramXML);
Hi @samuelT2 ,
thank you for reporting this issue, I am able to reproduce the issue and created a #26 to fix it
Describe the Bug
When running example.js, it produces an UnhandledPromiseRejectionWarning.
Steps to Reproduce
Expected Behavior
Write console output and save the file.
Fix
Line 68, add await:
var layoutedDiagramXML = await autoLayout.layoutProcess(diagramXML);