The ID and name of a diagram are set as XML attributes of the definitions element, for example:
<bpmn2:definitions id="model-1bf32338-2bc2-4af2-9496-e9a031e22142" name="requests-and-orders">
The ID and name of a diagram are set as XML attributes of the definitions element, for example:
<bpmn2:definitions id="model-1bf32338-2bc2-4af2-9496-e9a031e22142" name="requests-and-orders">