Is it possible? / What are the minimal nodes in the xml required to render a BPMN but sanitize the configurations (task, gateways, listeners, etc). Pretty much everything except for element labels/titles.
Can this be done?
Use Case: You want to show the BPMN but it is shared with a unknown actor, therefore it must be a cleaned version that does not expose any configurations.