Added the interface for GraphData as a way to unify different
GraphKernel/FeatureVectorKernel interfaces