Rigidity of high dimensional graph manifolds