AdaGraph: Unifying Predictive and Continuous Domain Adaptation Through Graphs