Moduli of graphs and automorphisms of free groups