implement createSubgraphExpandedFromVertex