DroidDiagram Programmer's Guide
OrthogonalLayout Members
Constructors Methods
 


Implements an orthogonal graph layout algorithm. Each link is drawn as a chain of alternating horizontal and vertical segments. Nodes are placed in a way that facilitates few links bends and crossings.

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

 Public Constructors

  Name Description

OrthogonalLayout

Initializes a new instance of the OrthogonalLayout class.

 Public Methods

  Name Description

arrange

Applies the layout on the specified subset of items from the specified Diagram instance.

getAnchoring

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

getDirected

Gets a value indicating whether the graph being laid out is directed.

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.)

getMinimizeLinkBends

 

getMinLaneSize

Gets a value indicating the minimum size of a lane.

getMultipleGraphsPlacement

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

getPadding

Gets a value indicating how much space to leave between nodes in adjacent lanes.

getProgress

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

getRefine

Gets a value indicating whether to refine the layout.

init

Returns an OrthogonalLayoutBuilder object used to configure this OrthogonalLayout instance.

removeMidleSegmentPoint

  (Inherited from AbstractLayout.)

setAnchoring

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

setDirected

Sets a value indicating whether the graph being laid out is directed.

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.)

setMinimizeLinkBends

Sets a value indicating whether the layout should attempt to minimize link bends.

setMinLaneSize

Sets a value indicating the minimum size of a lane.

setMultipleGraphsPlacement

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

setPadding

Sets a value indicating how much space to leave between nodes in adjacent lanes.

setProgress

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

setRefine

Sets a value indicating whether to refine the layout.

with

Returns an OrthogonalLayoutBuilder object used to configure and create new OrthogonalLayout instances.

 See Also

OrthogonalLayout Class
com.mindfusion.diagramming Namespace