class_docstr: Represents a graph suitable for further processing with the graphcut package.
  
  The graph contains nodes, edges (directed) between the nodes (n-edges), edges
  between two terminals (called source and sink) and the nodes (t-edges), and a
  weight for each edge. 
  
  Notes
  -----
  The node-ids used by the graph are assumed to start with 1 and be
  continuous. This is not actually checked, except when calling the
  inconsistent() method, so be careful.
docstr: Get the tweights.
  
  Returns
  -------
  tweights : dict
      All t-weights (terminal-node weights) as {node_id: (weight-source-node, weight-node-sink), ...} dict.
  
  Notes
  -----
  Returns only the t-weights that have been set so far. For nodes with unset t-weight, no entry is returned.
docstr_tok: ["Get","the","tweights",".","Returns","--","--","--","-","tweights",":","dict","All","t-weights","(","terminal-node","weights",")","as","{","node_id",":","(","weight-source-node",",","weight-node-sink",")",",","...","}","dict",".","Notes","--","--","-","Returns","only","the","t-weights","that","have","been","set","so","far",".","For","nodes","with","unset","t-weight",",","no","entry","is","returned","."]
code: def get_tweights(self):
      r"""
      Get the tweights.
  
      Returns
      -------
      tweights : dict
          All t-weights (terminal-node weights) as {node_id: (weight-source-node, weight-node-sink), ...} dict.
  
      Notes
      -----
      Returns only the t-weights that have been set so far. For nodes with unset t-weight, no entry is returned.
      """
      return self.__tweights
  
imports: from .maxflow import GraphDouble, GraphFloat
label_desc: Use image node_id 13 for calling the Graph obj's underlying member method code with example usage: obj.get_tweights() and returns: self