DiagramShapeDefaultsSettingsTagHelper
Example
Razor
<shape-defaults>
<connector-defaults></connector-defaults>
<connectors />
<content></content>
<editable></editable>
<fill />
<hover></hover>
<rotation />
<stroke />
</shape-defaults>
ChildTags
Attributes
| Attribute | Type | Description |
|---|---|---|
| diagram-shape-type | 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. |
| flowchart-shape-type | 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 default height of shapes in the Diagram. |
| min-height | Double | Defines the minimum height the shape can have. Use this setting to apply a lower limit to the height of shapes when users resize them. |
| min-width | Double | Defines the minimum width the shape can have. Use this setting to apply a lower limit to the width of shapes when users resize them. |
| 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."). |
| selectable | Boolean | Specifies if Diagram shapes can be selected. |
| source | String | The path/URL to 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 that returns a visual element to render for a given 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 default width of shapes in the Diagram. |
| x | Double | Defines the x-coordinate of shapes added to the Diagram. |
| y | Double | Defines the y-coordinate of shapes added to the Diagram. |