code: def export_inclusive_exclusive_gateway_info(node_params, output_element):
          
          output_element.set(consts.Consts.gateway_direction, node_params[consts.Consts.gateway_direction])
          if consts.Consts.default in node_params and node_params[consts.Consts.default] is not None:
              output_element.set(consts.Consts.default, node_params[consts.Consts.default])
docs: Adds InclusiveGateway or ExclusiveGateway node attributes to exported XML element
  
          :param node_params: dictionary with given inclusive or exclusive gateway parameters,
          :param output_element: object representing BPMN XML 'inclusiveGateway'/'exclusive' element.