class_docstr: A simple graph node.
  
  Args:
      ind (int): The index of the node.
docstr: Add a link to the node.
  
  Args:
      link_node (Node): The link node.
docstr_tok: ["Add","a","link","to","the","node",".","Args",":","link_node","(","Node",")",":","The","link","node","."]
code: def add_link(self, link_node: "Node") -> None:
      """Add a link to the node.
  
      Args:
          link_node (Node): The link node.
      """
      self.__links.add(link_node)
      link_node.__links.add(self)
  
imports: import functools
  import operator
  from typing import Dict, List, Tuple, Union
  import cv2
  import numpy
  import torch
  from mmengine.structures import InstanceData
  from numpy import ndarray
  from mmocr.registry import MODELS
  from mmocr.structures import TextDetDataSample
  from .base import BaseTextDetPostProcessor
label_desc: Use image node_id 4 for calling the Node obj's underlying member method code with example usage: obj.add_link(link_node) without return types