docs: def tree_to_file(tree:'BubbleTree', outfile:str):
      """Compute the gexf representation of given power graph,
      and push it into given file."""
      with open(outfile, 'w') as fd:
          fd.write(tree_to_gexf(tree))