# DiagramConnectionFromSettingsBuilder

## Methods

### Id(System.Object)

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

#### Parameters

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

The value that configures the source shape id.

#### Example

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

### Connector(System.String)

Defines the name of the source shape connector.

#### Parameters

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

The value that configures the source shape connector name.

#### Example

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

### X(System.Double)

Defines the x-coordinate of the connection source.

#### Parameters

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

The value for X

#### RETURNS

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

### Y(System.Double)

Defines the y-coordinate of the connection source.

#### Parameters

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

The value for Y

#### RETURNS

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