def add_node_info_to_diagram_graph(order, node_type, activity, process_id, bpmn_diagram):
if node_type == consts.Consts.start_event:<EOL><INDENT>bpmn_diagram.add_start_event_to_diagram(process_id, start_event_name=activity, node_id=order)<EOL><DEDENT>elif node_type == consts.Consts.subprocess:<EOL><INDENT>bpmn_diagram.add_subprocess_to_diagram(process_id, subprocess_name=activity, node_id=order)<EOL><DEDENT>elif node_type == consts.Consts.end_event:<EOL><INDENT>bpmn_diagram.add_end_event_to_diagram(process_id, node_id=order)<EOL><DEDENT>elif node_type == consts.Consts.inclusive_gateway:<EOL><INDENT>bpmn_diagram.add_inclusive_gateway_to_diagram(process_id, node_id=order)<EOL><DEDENT>elif node_type == consts.Consts.exclusive_gateway:<EOL><INDENT>bpmn_diagram.add_exclusive_gateway_to_diagram(process_id, node_id=order)<EOL><DEDENT>elif node_type == consts.Consts.parallel_gateway:<EOL><INDENT>bpmn_diagram.add_parallel_gateway_to_diagram(process_id, node_id=order)<EOL><DEDENT>else:<EOL><INDENT>bpmn_diagram.add_task_to_diagram(process_id, task_name=activity, node_id=order)<EOL><DEDENT>
:param order:
:param node_type:
:param activity:
:param process_id:
:param bpmn_diagram: