# DiagramConnectionToSettingsBuilder

## Methods

### Id(System.Object)

Defines the shape id that corresponds to the target of the connection.

#### Parameters

##### value - `System.Object`

The value that configures the target shape id.

#### Example

```
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().To(t => t.Id("1"))
               )
             )
             
```

### Connector(System.String)

Defines the name of the target shape connector.

#### Parameters

##### value - `System.String`

The value that configures the target shape connector name.

#### Example

```
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().To(t => t.Connector("Id"))
               )
             )
             
```

### X(System.Double)

Defines the point x value.

#### Parameters

##### value - `System.Double`

The value for X

#### RETURNS

Returns the current [DiagramConnectionToSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectiontosettingsbuilder) instance.

### Y(System.Double)

Defines the point y value.

#### Parameters

##### value - `System.Double`

The value for Y

#### RETURNS

Returns the current [DiagramConnectionToSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectiontosettingsbuilder) instance.
