How to get the process definition diagram and process instance diagram via JAVA API?

Hi @GhostFox,

Please see the post linked below. Although it talks about the rest API for getting the diagram, the explanations apply to the Java API you mention as well.

In general, we recommend retrieving the XML and rendering it with bpmn.io since it is much more powerful.

Cheers,
Thorben