Classical 1D maps, quantum graphs and ensembles of unitary matrices