parameters: (self)
return_statement: return self.get_links()
docstring: A view of the currently assigned links and their weights.
  
          The sources and targets are state ids when we have a
          state or multilayer network.
  
          Examples
          --------
  
          >>> from infomap import Infomap
          >>> im = Infomap(silent=True)
          >>> im.read_file("twotriangles.net")
          >>> im.run()
          >>> for link in im.links:
          ...     print(link)
          (1, 2, 1.0)
          (1, 3, 1.0)
          (2, 3, 1.0)
          (3, 4, 1.0)
          (4, 5, 1.0)
          (4, 6, 1.0)
          (5, 6, 1.0)
  
  
          See Also
          --------
          flow_links
  
          Returns
          -------
          tuple of int, int, float
              An iterator of source, target, weight tuples.
docstring_summary: A view of the currently assigned links and their weights.
docstring_tokens: A view of the currently assigned links and their weights .
function: def links(self):
          """A view of the currently assigned links and their weights.
  
          The sources and targets are state ids when we have a
          state or multilayer network.
  
          Examples
          --------
  
          >>> from infomap import Infomap
          >>> im = Infomap(silent=True)
          >>> im.read_file("twotriangles.net")
          >>> im.run()
          >>> for link in im.links:
          ...     print(link)
          (1, 2, 1.0)
          (1, 3, 1.0)
          (2, 3, 1.0)
          (3, 4, 1.0)
          (4, 5, 1.0)
          (4, 6, 1.0)
          (5, 6, 1.0)
  
  
          See Also
          --------
          flow_links
  
          Returns
          -------
          tuple of int, int, float
              An iterator of source, target, weight tuples.
          """
          return self.get_links()
function_tokens: def links ( self ) : return self . get_links ( )