Visual network structure and collective animal motion