original_docstring: 
      Returns the port ID from the nodes IDs
  
      :param actual_node_id: panel's node id
      :type actual_node_id: int
      :param destination_id: user's destination id
      :type destination_id: int
      :return: index of the direction (cardinal point)
      
docstring: Returns the port ID from the nodes IDs
docstring_tokens: Returns the port ID from the nodes IDs
code: def generate_direction(actual_node_id: int, destination_id: int):
      """
      Returns the port ID from the nodes IDs
  
      :param actual_node_id: panel's node id
      :type actual_node_id: int
      :param destination_id: user's destination id
      :type destination_id: int
      :return: index of the direction (cardinal point)
      """
      """ Generate the next node """
      next_node = get_next_node(actual_node_id, destination_id)
  
      """ Generate the exit_point """
      port = generate_port(get_node_from_id(actual_node_id),next_node)
  
      return port
code_tokens: def generate_direction ( actual_node_id : int , destination_id : int ) : """ Generate the next node """ next_node = get_next_node ( actual_node_id , destination_id ) """ Generate the exit_point """ port = generate_port ( get_node_from_id ( actual_node_id ) , next_node ) return port
short_docstring: Returns the port ID from the nodes IDs
short_docstring_tokens: Returns the port ID from the nodes IDs
comment: """
      Returns the port ID from the nodes IDs
  
      :param actual_node_id: panel's node id
      :type actual_node_id: int
      :param destination_id: user's destination id
      :type destination_id: int
      :return: index of the direction (cardinal point)
      """$SEP$""" Generate the next node """$SEP$""" Generate the exit_point """