@Override
	public void setLayoutProvider(
			LayoutProvider<FGVertex, FGEdge, FunctionGraph> newLayoutProvider) {

		LayoutProvider<FGVertex, FGEdge, FunctionGraph> oldLayoutProvider = layoutProvider;
		super.setLayoutProvider(newLayoutProvider);

		if (graphComponent == null) {
			return; // not yet created, no work to do 
		}

		if (oldLayoutProvider != newLayoutProvider) {
			// the saved positions no longer make sense in a different layout 
			fgComponent.clearLayoutPositionCache();
		}
	}
Sets the given layout provider, <b>but does not actually perform a layout</b>.
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/mvc/FGView.java