@staticmethod<EOL><INDENT>def import_process_element(process_elements_dict, process_element):<DEDENT>
process_id = process_element.getAttribute(consts.Consts.id)<EOL>process_element_attributes = {consts.Consts.id: process_element.getAttribute(consts.Consts.id),<EOL>consts.Consts.name: process_element.getAttribute(consts.Consts.name)<EOL>if process_element.hasAttribute(consts.Consts.name) else "<STR_LIT>",<EOL>consts.Consts.is_closed: process_element.getAttribute(consts.Consts.is_closed)<EOL>if process_element.hasAttribute(consts.Consts.is_closed) else "<STR_LIT:false>",<EOL>consts.Consts.is_executable: process_element.getAttribute(<EOL>consts.Consts.is_executable)<EOL>if process_element.hasAttribute(consts.Consts.is_executable) else "<STR_LIT:false>",<EOL>consts.Consts.process_type: process_element.getAttribute(<EOL>consts.Consts.process_type)<EOL>if process_element.hasAttribute(consts.Consts.process_type) else "<STR_LIT:None>",<EOL>consts.Consts.node_ids: []}<EOL>process_elements_dict[process_id] = process_element_attributes<EOL>
Adds attributes of BPMN process element to appropriate field process_attributes.
Diagram inner representation contains following process attributes:

- id - assumed to be required in XML file, even thought BPMN 2.0 schema doesn't say so,
- isClosed - optional parameter, default value 'false',
- isExecutable - optional parameter, default value 'false',
- processType - optional parameter, default value 'None',
- node_ids - list of flow nodes IDs, associated with given process.

:param process_elements_dict: dictionary that holds attribute values for imported 'process' element. Key is
   process ID, value is a dictionary of attributes,
:param process_element: object representing a BPMN XML 'process' element.