def remove_incoming_connection(base_node, bpmn_diagram, sequence_flows):
incoming_flow_id = bpmn_diagram.diagram_graph.node[base_node][consts.Consts.incoming_flow][<NUM_LIT:0>]<EOL>neighbour_node = sequence_flows[incoming_flow_id][consts.Consts.source_ref]<EOL>bpmn_diagram.diagram_graph.node[neighbour_node][consts.Consts.outgoing_flow].remove(incoming_flow_id)<EOL>del sequence_flows[incoming_flow_id]<EOL>bpmn_diagram.diagram_graph.remove_edge(neighbour_node, base_node)<EOL>return neighbour_node<EOL>
:param base_node:
:param bpmn_diagram:
:param sequence_flows:
:return: