@Override
	protected void initVertexLocations(SampleGraph g, Layout<SampleVertex, SampleEdge> layout) {
		Collection<SampleVertex> vertices = g.getVertices();
		for (SampleVertex v : vertices) {
			Point2D p = layout.apply(v);
			v.setLocation(p);
		}
	}
The layout provider for the {@link SampleGraphPlugin}.
Ghidra/Extensions/sample/src/main/java/ghidra/examples/graph/layout/SampleGraphLayoutProvider.java