src/main/java/com/mxgraph/layout/mxCircleLayout.java
public void circle(Object[] vertices, double r, double left, double top)
	{
		int vertexCount = vertices.length;
		double phi = 2 * Math.PI / vertexCount;

		for (int i = 0; i < vertexCount; i++)
		{
			if (isVertexMovable(vertices[i]))
			{
				setVertexLocation(vertices[i],
						left + r + r * Math.sin(i * phi), top + r + r
								* Math.cos(i * phi));
			}
		}
	}
/**
	 * Executes the circular layout for the specified array
	 * of vertices and the given radius.
	 */
Executes the circular layout for the specified array
of vertices and the given radius.
Executes the circular layout for the specified array of vertices and the given radius .
public void circle(Object[] vertices, double r, double left, double top)
	{
		int vertexCount = vertices.length;
		double phi = 2 * Math.PI / vertexCount;
		for (int i = 0; i < vertexCount; i++)
		{
			if (isVertexMovable(vertices[i]))
			{
				setVertexLocation(vertices[i],
						left + r + r * Math.sin(i * phi), top + r + r
								* Math.cos(i * phi));
			}
		}
	}
public void circle ( Object [ ] vertices , double r , double left , double top ) { int vertexCount = vertices . length ; double phi = 2 * Math . PI / vertexCount ; for ( int i = 0 ; i < vertexCount ; i ++ ) { if ( isVertexMovable ( vertices [ i ] ) ) { setVertexLocation ( vertices [ i ] , left + r + r * Math . sin ( i * phi ) , top + r + r * Math . cos ( i * phi ) ) ; } } }
Executes the circular layout for the specified array
 of vertices and the given radius.
Executes the circular layout for the specified array of vertices and the given radius .