Closed corocoto closed 1 year ago
Hi @corocoto ,
I can reproduce this issue. It seems that in some cases related to events, no path between the elements can be found. It seems this is related to the getPathToTarget
method:
https://github.com/bpmn-io/bpmn-auto-layout/blob/b4efbd0aaaba72ae6544ae1531a6e862c33f5ed1/lib/AutoLayout.js#L474-L496
I'm moving this issue to the backlog.
Please note that this repository is not officially maintained. You are still welcome to investigate this issue further and contributing a fix
Describe the Bug
I tried to transform bpmn-structure without di to the structure with di-elements that will have their own markup (with set positions and sizes). But after calling
AutoLayout
'slayoutProcess
method, I got an errorTypeError: Cannot read properties of undefined (reading 'pop')
.Steps to Reproduce
layoutProcess
method:const autoLayout = new AutoLayout();
(async () => { const layoutedDiagramXML = await autoLayout.layoutProcess(diagramXML); console.log(layoutedDiagramXML); })();