File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ using Mermaid.Flowcharts.Links;
2121
2222// Create a new flowchart
2323FlowchartTitle flowchartTitle = FlowchartTitle .FromString (" Basic usage" );
24- Flowchart flowchart = new ();
24+ Flowchart flowchart = new (flowchartTitle );
2525
2626// Create nodes
2727Node start = Node .Create (" start" , " Start" );
@@ -72,7 +72,7 @@ using Mermaid.Flowcharts.Nodes;
7272
7373// Create a new flowchart
7474FlowchartTitle flowchartTitle = FlowchartTitle .FromString (" Various node shapes" );
75- Flowchart flowchart = new ();
75+ Flowchart flowchart = new (flowchartTitle );
7676
7777// Create nodes with various shapes
7878Node rectangle = Node .Create (" rectangle" , " Rectangle" , NodeShape .Rectangle );
@@ -147,7 +147,7 @@ using Mermaid.Flowcharts.Links;
147147
148148// Create a new flowchart
149149FlowchartTitle flowchartTitle = FlowchartTitle .FromString (" Link styles" );
150- Flowchart flowchart = new ();
150+ Flowchart flowchart = new (flowchartTitle );
151151
152152// Create two nodes
153153Node a = Node .Create (" a" , " A" );
You can’t perform that action at this time.
0 commit comments