Skip to content

Commit b972b2a

Browse files
committed
docs(Diagram): Process shape is now equivalent to Rectangle
1 parent 867159d commit b972b2a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/diagram/shapes.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ The following Shape styling options are available in child tags of `<DiagramShap
218218

219219
In addition to the above:
220220

221-
* `<DiagramShapeDefaults>` and `<DiagramShape>` have a `CornerRadius` parameter that rounds both the border and the background at the Shape corners. If you need a rectangle shape with rounded corners, then use the [`Process` Shape type](#shape-types) instead of `Rectangle`.
221+
* `<DiagramShapeDefaults>` and `<DiagramShape>` have a `CornerRadius` parameter that rounds both the border and the background at the Shape corners.
222222
* `<DiagramShapeDefaultsContent>` and `<DiagramShapeContent>` have a `RelativePadding` parameter that adds padding as a ratio of the Shape width. For example, `RelativePadding="0.1"` applies a 10% padding. In some cases, you can increase the padding to force the Shape text to wrap.
223223

224224
>caption Setting global and Shape-specific color styles
@@ -333,7 +333,6 @@ The following configuration is not using a prefefined [Diagram layout](slug:diag
333333
<DiagramShape CornerRadius="6"
334334
Height="80"
335335
Id="shape3"
336-
Type="@DiagramShapeType.Process"
337336
Width="160"
338337
X="350"
339338
Y="50">
@@ -342,7 +341,7 @@ The following configuration is not using a prefefined [Diagram layout](slug:diag
342341
FontStyle="italic"
343342
FontWeight="bold"
344343
RelativePadding="0.1"
345-
Text="Rounded Process" />
344+
Text="Rounded Rectangle" />
346345
<DiagramShapeFill Color="#e0e0e0" />
347346
<DiagramShapeHover>
348347
<DiagramShapeHoverFill Color="#d6d6d6" />

0 commit comments

Comments
 (0)