@staticmethod<EOL><INDENT>def export_flow_di_data(params, plane):<DEDENT>
output_flow = eTree.SubElement(plane, BpmnDiagramGraphExport.bpmndi_namespace + consts.Consts.bpmn_edge)<EOL>output_flow.set(consts.Consts.id, params[consts.Consts.id] + "<STR_LIT>")<EOL>output_flow.set(consts.Consts.bpmn_element, params[consts.Consts.id])<EOL>waypoints = params[consts.Consts.waypoints]<EOL>for waypoint in waypoints:<EOL><INDENT>waypoint_element = eTree.SubElement(output_flow, "<STR_LIT>")<EOL>waypoint_element.set(consts.Consts.x, waypoint[<NUM_LIT:0>])<EOL>waypoint_element.set(consts.Consts.y, waypoint[<NUM_LIT:1>])<EOL><DEDENT>
Creates a new BPMNEdge XML element for given edge parameters and adds it to 'plane' element.

:param params: dictionary with edge parameters,
:param plane: object of Element class, representing BPMN XML 'BPMNPlane' element (root for edge DI data).