@Override
	protected String getVertexId(Address address) {
		try {
			CodeBlock[] blocks = blockModel.getCodeBlocksContaining(address, TaskMonitor.DUMMY);
			if (blocks != null && blocks.length > 0) {
				return super.getVertexId(blocks[0].getFirstStartAddress());
			}
		}
		catch (CancelledException e) {
			// Will not happen with dummyMonitor
			// Model has already done the work when the graph was created
		}
		return super.getVertexId(address);
	}
{@link GraphDisplayListener} that handles events back and from program graphs.
Ghidra/Features/ProgramGraph/src/main/java/ghidra/graph/program/BlockModelGraphDisplayListener.java