def generate_elements_clasification(bpmn_graph):
nodes_classification = []<EOL>node_param_name = "<STR_LIT>"<EOL>flow_param_name = "<STR_LIT>"<EOL>classification_param_name = "<STR_LIT>"<EOL>classification_element = "<STR_LIT>"<EOL>classification_join = "<STR_LIT>"<EOL>classification_split = "<STR_LIT>"<EOL>classification_start_event = "<STR_LIT>"<EOL>classification_end_event = "<STR_LIT>"<EOL>task_list = bpmn_graph.get_nodes(consts.Consts.task)<EOL>for element in task_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>subprocess_list = bpmn_graph.get_nodes(consts.Consts.subprocess)<EOL>for element in subprocess_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>complex_gateway_list = bpmn_graph.get_nodes(consts.Consts.complex_gateway)<EOL>for element in complex_gateway_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>event_based_gateway_list = bpmn_graph.get_nodes(consts.Consts.event_based_gateway)<EOL>for element in event_based_gateway_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>inclusive_gateway_list = bpmn_graph.get_nodes(consts.Consts.inclusive_gateway)<EOL>for element in inclusive_gateway_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>exclusive_gateway_list = bpmn_graph.get_nodes(consts.Consts.exclusive_gateway)<EOL>for element in exclusive_gateway_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>parallel_gateway_list = bpmn_graph.get_nodes(consts.Consts.parallel_gateway)<EOL>for element in parallel_gateway_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>start_event_list = bpmn_graph.get_nodes(consts.Consts.start_event)<EOL>for element in start_event_list:<EOL><INDENT>tmp = [classification_element, classification_start_event]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>intermediate_catch_event_list = bpmn_graph.get_nodes(consts.Consts.intermediate_catch_event)<EOL>for element in intermediate_catch_event_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>end_event_list = bpmn_graph.get_nodes(consts.Consts.end_event)<EOL>for element in end_event_list:<EOL><INDENT>tmp = [classification_element, classification_end_event]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>intermediate_throw_event_list = bpmn_graph.get_nodes(consts.Consts.intermediate_throw_event)<EOL>for element in intermediate_throw_event_list:<EOL><INDENT>tmp = [classification_element]<EOL>if len(element[<NUM_LIT:1>][consts.Consts.incoming_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_join)<EOL><DEDENT>if len(element[<NUM_LIT:1>][consts.Consts.outgoing_flow]) >= <NUM_LIT:2>:<EOL><INDENT>tmp.append(classification_split)<EOL><DEDENT>nodes_classification += [{node_param_name: element, classification_param_name: tmp}]<EOL><DEDENT>flows_classification = []<EOL>flows_list = bpmn_graph.get_flows()<EOL>for flow in flows_list:<EOL><INDENT>flows_classification += [{flow_param_name: flow, classification_param_name: ["<STR_LIT>"]}]<EOL><DEDENT>return nodes_classification, flows_classification<EOL>
:param bpmn_graph:
:return: