Auto formatting diagram shapes


#1

I am generating a BPMN using the API…One of the things I would like to have is being able to Auto format the position of shapes so that the generated diagram looks nice. Is there any such API or code that can enable this?

Thanks and Regards
Rajender


#2

Did you check this and this topic?