private void setVertexTypeAndAttributes(AttributedVertex vertex, PcodeBlock block,
			String vertexType) {
		String existingType = vertex.getVertexType();
		if (existingType == null) {
			vertex.setVertexType(vertexType);
		}
		else {
			if (!existingType.equals(vertexType) &&
				!existingType.equals(BSimFeatureGraphType.BASE_BLOCK_VERTEX)) {
				vertex.setVertexType(BSimFeatureGraphType.BSIM_NEIGHBOR_VERTEX);
			}
			return; //attributes already set
		}
		vertex.setAttribute(BSimFeatureGraphType.BLOCK_START, block.getStart().toString());
		vertex.setAttribute(BSimFeatureGraphType.BLOCK_STOP, block.getStop().toString());
		vertex.setAttribute(BSimFeatureGraphType.CALL_STRING,
			provider.getModel().getCallString(block.getIndex()));

	}
Returns the {@link AttributedGraph} created by (the last firing of) this action.
@return graph
Ghidra/Features/BSimFeatureVisualizer/src/main/java/ghidra/bsfv/HighlightAndGraphAction.java