How to use the java library to generate xml with a valid graphical info?

Is there any way how to use the java library to generate xml with a valid graphical info about the process ?
For example:

<bpmndi:BPMNDiagram id="BPMNDiagram_atlas.organizationcontroller.organizationcontroller_sample_workflow-1.0">
		<bpmndi:BPMNPlane bpmnElement="atlas.organizationcontroller.organizationcontroller_sample_workflow-1.0" id="BPMNPlane_atlas.organizationcontroller.organizationcontroller_sample_workflow-1.0"></bpmndi:BPMNPlane>
	</bpmndi:BPMNDiagram>

Here not to missing graphical info about the process.

Is there any update on this question? I’m also interested

Hey @salvorusso and @fnadezhda you might want to look into BpmnAutoLayout to see if it achieves what you are looking for.

Cheers,
Filip