DroidDiagram Programmer's Guide
CircularLayout Members
Constructors Methods
 


Implements a circular graph layout algorithm. Nodes are distributed evenly on the circumference of a circle at positions that result in as few link crossing as possible.

The following tables list the members exposed by the CircularLayout type.

 Public Constructors

  Name Description

CircularLayout

Initializes a new instance of the CircularLayout class with the default settings.

 Public Methods

  Name Description

arrange

Overloaded.  

getAnchoring

Gets how to align links to the anchor points of nodes. (Inherited from AbstractLayout.)

getGrowToFit

Gets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from AbstractLayout.)

getKeepGroupLayout

Gets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from AbstractLayout.)

getLayoutLink

Gets an object, which is notified when the position of a link is changed by the layout. (Inherited from AbstractLayout.)

getLayoutNode

Gets an object, which is notified when the position of a node is changed by the layout. (Inherited from AbstractLayout.)

getMargins

Gets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds. (Inherited from AbstractLayout.)

getMultipleGraphsPlacement

Gets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from AbstractLayout.)

getProgress

Gets the progress callback delegate. (Inherited from AbstractLayout.)

getRadius

Gets the radius of the layout circle.

getSiftingRounds

Gets the number of sifts to perform during the layout.

init

Returns a CircularLayoutBuilder object used to configure this CircularLayout instance.

removeMidleSegmentPoint

  (Inherited from AbstractLayout.)

setAnchoring

Sets how to align links to the anchor points of nodes. (Inherited from AbstractLayout.)

setGrowToFit

Sets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from AbstractLayout.)

setKeepGroupLayout

Sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from AbstractLayout.)

setLayoutLink

Sets an object, which is notified when the position of a link is changed by the layout. (Inherited from AbstractLayout.)

setLayoutNode

Sets an object, which is notified when the position of a node is changed by the layout. (Inherited from AbstractLayout.)

setMargins

Sets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds. (Inherited from AbstractLayout.)

setMultipleGraphsPlacement

Sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from AbstractLayout.)

setProgress

Sets the progress callback delegate. (Inherited from AbstractLayout.)

setRadius

Sets the radius of the layout circle.

setSiftingRounds

Sets the number of sifts to perform during the layout.

with

Returns a CircularLayoutBuilder object used to configure and create new CircularLayout instances.

 See Also

CircularLayout Class
com.mindfusion.diagramming Namespace