The graph of monomial ideals