@SuppressWarnings({ "rawtypes", "unchecked" })
	protected Layout<V, E> cloneJungLayout(VisualGraph<V, E> newGraph) {

		Class<? extends Layout> delegateClass = delegate.getClass();
		try {
			Constructor<? extends Layout> constructor = delegateClass.getConstructor(Graph.class);
			Layout layout = constructor.newInstance(newGraph);
			return layout;
		}
		catch (Exception e) {
			throw new RuntimeException("Unable to clone jung graph: " + delegate.getClass(), e);
		}
	}
A wrapper that allows for existing Jung layouts to be used inside of the Visual Graph system. 

@param <V> the vertex type
@param <E> the edge type
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/layout/JungWrappingVisualGraphLayoutAdapter.java