p83 graph spanning tree
p80 graph to string compact form