ClassLayoutService
Class
Diagram service managing the layout process.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
cs-api-definition
public class LayoutService : GraphServiceBase, ILayoutService
Inheritance: objectGraphServiceBaseLayoutService
Implements:
Inherited Members
Constructors
LayoutService(IGraphInternal)
Initializes a new instance of the LayoutService class.
Declaration
cs-api-definition
public LayoutService(IGraphInternal graph)
Parameters
graph
The graph.
Properties
IsLayouting
Gets a value indicating whether the layout is currently busy organizing the diagram.
Methods
Layout(LayoutType, object)
Organizes the diagram using the specified layout.
Declaration
cs-api-definition
public void Layout(LayoutType type = LayoutType.Sugiyama, object settings = null)
Parameters
type
The layout type to apply.
settings
The settings specific to the layout type.
Implements