refactor graph feature extractors