New to Kendo UI for AngularStart a free 30-day trial

Defines the base default options that will be applied to all shapes in the Diagram.

Definition

Package:@progress/kendo-angular-diagrams

Properties

accessibility?

AccessibilityOptions

Defines accessibility options for the shape.

Defines the center position of the shape. Applicable for the circle shape.

Defines the default options for the shape connectors.

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. You can define your own custom connectors or use the predefined types.

Defines the default shapes content settings.

Defines the corner radius of the shape.

Default:

0

Defines the shape editable options.

Defines the fill options of the shape. Use these settings to apply a single-color or a gradient background to all shapes in the Diagram.

height?

number

Defines the default height of shapes in the Diagram.

Default:

100

Defines the hover configuration for the shape.

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.

Default:

20

minWidth?

number

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.

Default:

20

path?

string

The path option of a Shape is a description of a custom geometry. The format follows the standard SVG format.

radius?

number

Defines the radius of the shape. Applicable for the circle shape.

Defines the rotation of the shape.

Specifies if Diagram shapes can be selected.

Default:

true

source?

string

The path/URL to the shape image. Applicable when the type is set to "image".

Defines the configuration of the border around Diagram shapes.

Specifies the type of the Shape using any of the built-in shape type.

Default:

"rectangle"

A function that returns a visual element to render for a given shape.

Parameters:dataanyReturns:

any

width?

number

Defines the default width of shapes in the Diagram.

Default:

100

x?

number

Defines the x-coordinate of shapes added to the Diagram.

Default:

0

y?

number

Defines the y-coordinate of shapes added to the Diagram.

Default:

0