Phase diagram of the Bose-Hubbard model on complex networks