code: def add_exclusive_gateway_to_diagram(self, process_id, gateway_name="", gateway_direction="Unspecified",
                                           default=None, node_id=None):
          
          exclusive_gateway_id, exclusive_gateway = self.add_gateway_to_diagram(process_id,
                                                                                consts.Consts.exclusive_gateway,
                                                                                gateway_name=gateway_name,
                                                                                gateway_direction=gateway_direction,
                                                                                node_id=node_id)
          self.diagram_graph.node[exclusive_gateway_id][consts.Consts.default] = default
          return exclusive_gateway_id, exclusive_gateway
docs: Adds an exclusiveGateway element to BPMN diagram.
  
          :param process_id: string object. ID of parent process,
          :param gateway_name: string object. Name of exclusive gateway,
          :param gateway_direction: string object. Accepted values - "Unspecified", "Converging", "Diverging", "Mixed".
              Default value - "Unspecified".
          :param default: string object. ID of flow node, target of gateway default path. Default value - None,
          :param node_id: string object. ID of node. Default value - None.
          
          :return: a tuple, where first value is exculusiveGateway ID, second a reference to created object.