# Diagram

## Properties

### DataSource - [DataSource](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/datasource)

Gets or sets the DataSource.

### ConnectionsDataSource - [DataSource](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/datasource)

Gets or sets the DataSource.

### DataSourceId - String

### AutoBind - Nullable

### Accessibility - [DiagramAccessibilitySettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramaccessibilitysettings)

The accessibility role of the diagram element.

### ConnectionDefaults - [DiagramConnectionDefaultsSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramconnectiondefaultssettings)

Defines the label displayed on the connection path.

### Connections - List

### Editable - [DiagramEditableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagrameditablesettings)

Gets or sets the ShapeTemplateName.

### Layout - [DiagramLayoutSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramlayoutsettings)

Defines where the circle/arc ends. The positive direction is clockwise and the angle is in degrees. This setting is specific to the radial tree layout.

### Navigatable - [DiagramNavigatableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramnavigatablesettings)

If set to true, disables keyboard navigation in the diagram.

### Pannable - [DiagramPannableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagrampannablesettings)

The pannable key.

### Pdf - [DiagramPdfSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagrampdfsettings)

The author of the PDF document that will be visible in the PDF file metadata.

### Selectable - [DiagramSelectableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramselectablesettings)

Specifies if the multiple selection should be enabled.

### ShapeDefaults - [DiagramShapeDefaultsSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramshapedefaultssettings)

Defines the connectors the shape owns. A connector is the point in the shape where a connection between this shape and another one can originate from or end. "top" - top connector.; "right" - right connector.; "bottom" - bottom connector.; "bottomRight" - bottom right connector.; "left" - left connector. or "auto" - auto connector.. You can define your own custom connectors or use the predefined types.

### Shapes - List

### Template - String

### TemplateId - String

### TemplateHandler - String

### Theme - String

### TabIndex - Nullable

### Tooltip - [DiagramTooltipSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramtooltipsettings)

Defines the tooltip that will be shown when hovering over a connection.

### Zoom - Nullable

### ZoomMax - Nullable

### ZoomMin - Nullable

### ZoomRate - Nullable

### Events - IDictionary

### Id - String

### SanitezeId - Boolean

### Writer - IJavaScriptWriter

### Initializer - IJavaScriptInitializer

### IsInClientTemplate - Boolean

### IsSelfInitialized - Boolean

### HasDeferredInitialization - Boolean

### HtmlAttributes - IDictionary

### ScriptAttributes - IDictionary

### HtmlHelper - IHtmlHelper

### ModelMetadataProvider - IModelMetadataProvider

### Name - String

### Explorer - ModelExplorer

### Selector - String

### IdPrefix - String

### ViewContext - ViewContext

### ValueProvider - IValueProvider

### UrlGenerator - IUrlGenerator

### HtmlEncoder - HtmlEncoder

### HasClientComponent - Boolean

### UseMvvmInitialization - Boolean

## Methods

### WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

#### Parameters

##### writer - `System.IO.TextWriter`

The System.IO.TextWriter.

### Serialize()

Serializes the component settings to a dictionary.

#### RETURNS

A dictionary of settings.

### ProcessSettings()

ProcessSettings method.

### Render()

Renders the component.

### ToClientTemplate()

ToClientTemplate method.

### ToHtmlString()

ToHtmlString method.

#### RETURNS

The result.

### VerifySettings()

VerifySettings method.

### WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

#### Parameters

##### writer - `System.IO.TextWriter`

The writer.

### DeferStyles()

DeferStyles method.

### GetHtml(System.Boolean)

GetHtml method.

#### Parameters

##### includeScript - `System.Boolean`

#### RETURNS

The result.

### GetInitializator()

GetInitializator method.

#### RETURNS

The result.

### WriteDeferredScriptInitialization()

WriteDeferredScriptInitialization method.
