Semi-Supervised Domain Generalization with Graph-Based Classifier