Search
GridLayout Members
Constructors Properties Methods
 


Implements a grid graph layout algorithm.

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

 Public Constructors

  Name Description

GridLayout

Initializes a new instance of the GridLayout class.

 Public Properties

  Name Description

Anchoring

Gets or sets how to align links to the anchor points of nodes. (Inherited from Layout.)

EndNode

Gets or sets the node that is placed at the lower right corner of the grid.

GridSize

Gets or sets the desired distance between adjacent grid points.

GrowToFit

Gets or sets a value indicating whether the layout should increase the diagram bounds to fit the arranged content. (Inherited from Layout.)

Iterations

Gets or sets for how many iterations to run the grid layout algorithm.

KeepGroupLayout

Gets or sets a value indicating whether to treat each group of nodes as a single vertex in the arranged graph. (Inherited from Layout.)

LayoutLink

Gets or sets a delegate, which is invoked when the position of a link is changed by the layout. (Inherited from Layout.)

LayoutNode

Gets or sets a delegate, which is invoked when the position of a node is changed by the layout. (Inherited from Layout.)

Margins

Gets or 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 Layout.)

MultipleGraphsPlacement

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

Name

Gets a user-friendly name of the layout.

Progress

Gets or sets the progress callback delegate. (Inherited from Layout.)

RandomSeed

Gets or sets the randomization seed to use for generating random node positions.

RepeatingLinksPadding

Specifies the padding distance between repeating links. (Inherited from Layout.)

Root

Gets or sets a node indicating which subgraph of the diagram should be laid out.

SplitGraph

Gets or sets a value indicating whether to split the graph to its interconnected subgraphs and arrange the subgraphs independently or arrange the graph as a whole.

StartNode

Gets or sets the node that is placed at the upper left corner of the grid.

TimeLimit

Gets or sets a time-out value for the path-finding part of the grid layout algorithm.

UseLongestPath

Gets or sets a value indicating whether the algorithm should arrange nodes around the longest path in the graph.

 Protected Properties

  Name Description

DefaultMarginValue

Gets the default value of the Margins property.

 Public Methods

  Name Description

Arrange

Overloaded. Applies the layout to a Diagram instance. (Inherited from Layout.)

 See Also