@Override
	public GDirectedGraph<Vertex, Edge> copy() {
		GDirectedGraph<Vertex, Edge> graph = GraphFactory.createDirectedGraph();
		for (Vertex v : cachedVertices) {
			graph.addVertex(v);
		}
		for (Edge e : cachedEdges) {
			graph.addEdge(e);
		}
		return graph;
	}
Returns a copy of the graph explored so far
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/sem/AssemblyContextGraph.java