public DirectedGraph getComponentContaining(Vertex v) {
		Vertex[] verts = this.getVerticesInContainingComponent(v).toArray(new Vertex[0]);
		return this.inducedSubgraph(verts);
	}
Returns the subgraph of this graph which is the component containing v.
Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/DirectedGraph.java