A graph neural network approach to interval and box graph completion problems