class_docstr: This class represents a directed graph using adjacency lists
class_docstr_tok: ["This","class","represents","a","directed","graph","using","adjacency","lists"]
docstr: The function to find transitive closure. It uses
  recursive dfs_util()
docstr_tok: ["The","function","to","find","transitive","closure",".","It","uses","recursive","dfs_util","(",")"]
code: def transitive_closure(self):
      """
      The function to find transitive closure. It uses
      recursive dfs_util()
      """
  
      # Call the recursive helper function to print DFS
      # traversal starting from all vertices one by one
      for i in range(self.vertex_count):
          self.dfs_util(i, i)
  
      return self.closure
  
label_desc: Use image node_id 4 for calling the Graph obj's underlying member method code with example usage: obj.transitive_closure() and returns: self