@Override
	public AbstractVisualGraphLayout<SampleVertex, SampleEdge> createClonedLayout(
			VisualGraph<SampleVertex, SampleEdge> newGraph) {
		if (!(newGraph instanceof SampleGraph)) {
			throw new IllegalArgumentException("Must pass a " + SampleGraph.class.getSimpleName() +
				"to clone the " + getClass().getSimpleName());
		}

		SampleGraphPluginDependencyLayout newLayout =
			new SampleGraphPluginDependencyLayout((SampleGraph) newGraph, getLayoutName());
		return newLayout;
	}
A custom layout to arrange the plugin vertices of the {@link SampleGraphPlugin}, using
the number of dependencies as a guide for arrangement.
Ghidra/Extensions/sample/src/main/java/ghidra/examples/graph/layout/SampleGraphPluginDependencyLayout.java