ENH: Added partial implementation of subgraph extractor