@staticmethod<EOL><INDENT>def export_node_di_data(node_id, params, plane):<DEDENT>
output_element_di = eTree.SubElement(plane, BpmnDiagramGraphExport.bpmndi_namespace + consts.Consts.bpmn_shape)<EOL>output_element_di.set(consts.Consts.id, node_id + "<STR_LIT>")<EOL>output_element_di.set(consts.Consts.bpmn_element, node_id)<EOL>bounds = eTree.SubElement(output_element_di, "<STR_LIT>")<EOL>bounds.set(consts.Consts.width, params[consts.Consts.width])<EOL>bounds.set(consts.Consts.height, params[consts.Consts.height])<EOL>bounds.set(consts.Consts.x, params[consts.Consts.x])<EOL>bounds.set(consts.Consts.y, params[consts.Consts.y])<EOL>if params[consts.Consts.type] == consts.Consts.subprocess:<EOL><INDENT>output_element_di.set(consts.Consts.is_expanded, params[consts.Consts.is_expanded])<EOL><DEDENT>
Creates a new BPMNShape XML element for given node parameters and adds it to 'plane' element.

:param node_id: string representing ID of given flow node,
:param params: dictionary with node parameters,
:param plane: object of Element class, representing BPMN XML 'BPMNPlane' element (root for node DI data).