private AttributedEdge edge(AttributedVertex v1, AttributedVertex v2) {
		return graph.addEdge(v1, v2);
	}
Example script for creating and displaying a graph in ghidra
Ghidra/Features/Base/ghidra_scripts/ExampleGraphServiceScript.java