protected GraphicsDecorator getEmphasisGraphics(GraphicsDecorator g, V vertex,
			RenderContext<V, E> rc, Layout<V, E> layout) {

		Graphics2D graphicsCopy = (Graphics2D) g.create();
		GraphicsDecorator decoratorCopy = new GraphicsDecorator(graphicsCopy);

		double alpha = vertex.getAlpha();
		if (alpha < 1D) {
			decoratorCopy.setComposite(
				AlphaComposite.getInstance(AlphaComposite.SrcOver.getRule(), (float) alpha));
		}

		double emphasis = vertex.getEmphasis();
		if (emphasis == 0) {
			return decoratorCopy;
		}

		AffineTransform transform = graphicsCopy.getTransform();
		double scaleX = transform.getScaleX();
		if (((int) scaleX) == 1) {
			return decoratorCopy;
		}

		Point2D p = layout.apply(vertex);
		MultiLayerTransformer multiLayerTransformer = rc.getMultiLayerTransformer();
		p = multiLayerTransformer.transform(Layer.LAYOUT, p);

		double vertexX = p.getX();
		double vertexY = p.getY();
		AffineTransform xf = AffineTransform.getTranslateInstance(vertexX, vertexY);
		emphasis = adjustValueForCurrentScale(rc, emphasis, .5);
		double newScale = 1.0 + emphasis;
		xf.scale(newScale, newScale);
		xf.translate(-vertexX, -vertexY);

		transform.concatenate(xf);

		graphicsCopy.setTransform(transform);

		return decoratorCopy;
	}
Creates a copy of the given {@link GraphicsDecorator} that may have scaling tweaked to 
handle {@link VisualVertex#getEmphasis()} emphasized vertices.
@param g the graphics
@param vertex the vertex
@param rc the render context
@param layout the graph layout
@return the new graphics
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/vertex/AbstractVisualVertexRenderer.java