public Map<V, Point2D> getVertexLocations() {

		Map<V, Point2D> vertexLocations = new HashMap<>();

		for (Entry<V, GridPoint> entry : grid.getVertexPoints().entrySet()) {
			V v = entry.getKey();
			GridPoint p = entry.getValue();

			Shape shape = transformer.apply(v);
			Rectangle vertexBounds = shape.getBounds();
			int x = gridCoordinates.x(p.col);
			int y = gridCoordinates.y(p.row) + (vertexBounds.height >> 1);

			Point2D location = new Point2D.Double(x, y);
			vertexLocations.put(v, location);
		}
		return vertexLocations;
	}
Returns a map of vertices to points in layout space.
@return a map of vertices to points in layout space
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/graph/layout/flowchart/OrthogonalGridToLayoutMapper.java