Class LayoutService
Diagram service managing the layout process.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class LayoutService : GraphServiceBase, ILayoutService
Constructors
LayoutService(IGraphInternal)
Initializes a new instance of the LayoutService class.
Declaration
public LayoutService(IGraphInternal graph)
Parameters
IGraphInternal
graph
The graph. |
Properties
IsLayouting
Gets a value indicating whether the layout is currently busy organizing the diagram.
Declaration
public bool IsLayouting { get; set; }
Property Value
System.Boolean
|
Implements
Methods
Layout(LayoutType, Object)
Organizes the diagram using the specified layout.
Declaration
public void Layout(LayoutType type = LayoutType.Sugiyama, object settings = null)
Parameters
LayoutType
type
The layout type to apply. |
System.Object
settings
The settings specific to the layout type. |