Skip to content

Commit 7ecf8af

Browse files
dimodidimodi
authored andcommitted
Update components/diagram/overview.md
1 parent f3ed78e commit 7ecf8af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/diagram/overview.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ Optionally, you can also define:
100100
* Shape `width` and `height` as numbers.
101101
* Connection `from.connector` and `to.connector` that determine which shape side the connection touches (`"Top"`, `"Right"`, `"Bottom"`, `"Left"`).
102102

103-
The Diagram provides a `SaveAsJsonAsync()` method that returns the current shape and connection state as a JSON string. This allows you to [persist user changes](slug:diagram-kb-change-shape-color-onshapeclick) or see how to define more advanced shape and connection settings in JSON format.
103+
The Diagram provides a `SaveAsJsonAsync()` method that returns the current shape and connection state as a JSON string. This allows you to:
104+
105+
* [Persist user changes and apply them to the component in a future user session](slug:diagram-kb-change-shape-color-onshapeclick).
106+
* Review the JSON structure and see how to define all possible shape and connection settings in JSON format.
104107

105108
>caption Loading and saving the Diagram shape and connection state
106109

0 commit comments

Comments
 (0)