@Override
	protected Address getAddress(AttributedVertex vertex) {
		if (vertex == null) {
			return null;
		}
		String vertexId = vertex.getId();
		int firstColon = vertexId.indexOf(':');
		if (firstColon == -1) {
			return null;
		}

		int firstSpace = vertexId.indexOf(' ');
		String addrString = vertexId.substring(0, firstSpace);
		return getAddress(addrString);
	}
GraphDisplayListener for a PCode data flow graph
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/PCodeDfgDisplayListener.java