The StarDiagramForceBasedLayout type exposes the following members.

Constructors

  NameDescription
StarDiagramForceBasedLayout
Initializes a new instance of the StarDiagramForceBasedLayout class.

Methods

  NameDescription
GetStartNodes
Returns a list of 'start nodes' based on the number of inbound connections on each node.
(Inherited from LayoutAlgorithmBase.)
IsIncluded
Returns whether or not the given IDiagramNode should be affected by this layout algorithm.
(Inherited from LayoutAlgorithmBase.)
RunOverloaded.

Properties

  NameDescription
Damping
Gets or sets the damping of the force-based layout algorithm. This is typically between 0 - 1. The higher the value, the faster the algorithm can run. The lower the value, the more stable the algorithm will be. A relatively good value for this is 0.6f. 0.9f is ideal if the MaxIterations is 1.
Info
Gets or sets the ILayoutAlgorithmInfo used to provide additional diagram specific logic.
(Inherited from LayoutAlgorithmBase.)
MaxIterations
Gets or sets the maximum number of iterations of the algorithm within one call to the Run method.
SeparationDistance
Gets or sets the distance that this StarDiagramForceBasedLayout uses to separate different collections of StarDiagramNode objects within a diagram.

See Also