TypeError: layoutProcess is not a function when using bpmn-auto-layout in reactjs
I have an xml that i want to auto layout. So I am using this bpmn-auto-layout And I am importing it like this const layoutProcess = require('bpmn-auto-layout'); and using like this const layoutedDiagramXML = await layoutProcess(xml); but it throws the…