activiti auto layout bpmn

I use activiti to automatically generate the coordinates of elements in bpmn, but it cannot generate the coordinates of TextAnnotation, why is this?

new BpmnAutoLayout(model)).execute();

Hi @liraky, welcome to the forum!

Are you sure you are using the bpmn.io toolkit? Or do you refer to this (unmaintained) project?