# DiagramShapeTagHelper

## Example

```
<shape>
    <accessibility></accessibility>
    <center />
    <connector-defaults></connector-defaults>
    <connectors />
    <content></content>
    <editable></editable>
    <fill></fill>
    <hover></hover>
    <rotation />
    <stroke></stroke>
</shape>
```

## ChildTags

| Tag Name           | Details                                                                                                                                                                        |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| accessibility      | [DiagramShapeAccessibilitySettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapeaccessibilitysettingstaghelper)         |
| center             | [DiagramShapeCenterSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapecentersettingstaghelper)                       |
| connector-defaults | [DiagramShapeConnectorDefaultsSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapeconnectordefaultssettingstaghelper) |
| connectors         | [DiagramShapeConnectorsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapeconnectorstaghelper)                               |
| content            | [DiagramShapeContentSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapecontentsettingstaghelper)                     |
| editable           | [DiagramShapeEditableSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapeeditablesettingstaghelper)                   |
| fill               | [DiagramShapeFillSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapefillsettingstaghelper)                           |
| hover              | [DiagramShapeHoverSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapehoversettingstaghelper)                         |
| rotation           | [DiagramShapeRotationSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshaperotationsettingstaghelper)                   |
| stroke             | [DiagramShapeStrokeSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/diagramshapestrokesettingstaghelper)                       |

## Attributes

| Attribute            | Type                                                                                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| -------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| corner-radius        | Double                                                                                                         | Defines the corner radius of the shape.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| dataitem             | Object                                                                                                         | DataItem member.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| diagram-shape-type   | [DiagramShapeType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramshapetype)     | Specifies the type of the Diagram Shape using any of the built-in shape type. rectangle: this is the default option; circle: a circle/ellipse; image: an image or text: some text.                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| fill                 | String                                                                                                         | Defines the background fill options of the shape.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| flowchart-shape-type | [FlowchartShapeType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/flowchartshapetype) | Specifies the type of the Workflow Shape type using any of the built-in shape types. Terminator: Start and end points of the workflow.; Process: Standard processing steps or actions.; Decision: Decision points with Yes/No or True/False branches.; Document: Document creation or data output.; PredefinedProcess: Subroutines or predefined operations.; Database:Database operations or data storage.; Delay:Wait periods or time-based operations. or ManualOperation:Manual tasks requiring human intervention.                                                                                                                      |
| height               | Double                                                                                                         | Defines the height of the shape when added to the Diagram.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| id                   | String                                                                                                         | The unique identifier for a Shape. The id value is used to identify shapes in connection configurations. The connection to and from properties usually point to shape id values.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| min-height           | Double                                                                                                         | Defines the minimum height the shape should have, that is, it cannot be resized to a value smaller than the given one.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| min-width            | Double                                                                                                         | Defines the minimum width the shape should have, that is, it cannot be resized to a value smaller than the given one. See example at shapes.minHeight.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| path                 | String                                                                                                         | The path option of a Shape is a description of a custom geometry. The format follows the standard SVG format (<https://www.w3.org/TR/SVG/paths.html#PathData> "SVG Path data.").                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| radius               | Double                                                                                                         | The radius of circular shapes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| selectable           | Boolean                                                                                                        | Specifies if the shape can be selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| source               | String                                                                                                         | The source of the shape image. Applicable when the type is set to "image".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| type                 | String                                                                                                         | Specifies the type of the Shape using any of the built-in shape type. rectangle: this is the default option; circle: a circle/ellipse; image: an image or text: some text. Or common workflow shapes as: Terminator: Start and end points of the workflow.; Process: Standard processing steps or actions.; Decision: Decision points with Yes/No or True/False branches.; Document: Document creation or data output.; PredefinedProcess: Subroutines or predefined operations.; Database:Database operations or data storage.; Delay:Wait periods or time-based operations. or ManualOperation:Manual tasks requiring human intervention.. |
| visual               | String                                                                                                         | A function returning a visual element to render for this shape.The following primitives can be used to construct a composite visual: Circle; Rectangle; Path; Line; Polyline; TextBlock; Image or Layout.                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| width                | Double                                                                                                         | Defines the width of the shape when added to the Diagram.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| x                    | Double                                                                                                         | Defines the x-coordinate of the shape when added to the Diagram. Does not take effect if the Diagram is using a pre-defined layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| y                    | Double                                                                                                         | Defines the y-coordinate of the shape when added to the Diagram. Does not take effect if the Diagram is using a pre-defined layout. You can see an example at shapes.x                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
