graph extractor