Skip to content

Commit c509d96

Browse files
903090: API reference added
1 parent a33f86c commit c509d96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blazor/diagram/serialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The [SfDiagramComponent](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor
142142

143143
### Save diagram as Mermaid syntax
144144

145-
The `SaveDiagramAsMermaid` method serializes the diagram into a Mermaid-compatible string format. This method is specifically designed for diagrams that utilize Flowchart and Mind map layouts. The following code illustrates how to save the diagram in Mermaid string format.
145+
The [SaveDiagramAsMermaid](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_SaveDiagramAsMermaid) method serializes the diagram into a Mermaid-compatible string format. This method is specifically designed for diagrams that utilize Flowchart and Mind map layouts. The following code illustrates how to save the diagram in Mermaid string format.
146146

147147
```cshtml
148148
SfDiagramComponent Diagram;
@@ -152,7 +152,7 @@ string data = Diagram.SaveDiagramAsMermaid();
152152

153153
### Load diagram from Mermaid syntax
154154

155-
You can load a [diagram](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html) from the serialized Mermaid syntax data using the `LoadDiagramFromMermaidAsync` method. The following code illustrates how to load a diagram from a Mermaid string data.
155+
You can load a [diagram](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html) from the serialized Mermaid syntax data using the [LoadDiagramFromMermaidAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_LoadDiagramFromMermaidAsync_System_String_) method. The following code illustrates how to load a diagram from a Mermaid string data.
156156

157157
```cshtml
158158
SfDiagramComponent Diagram;

0 commit comments

Comments
 (0)