We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3052f commit da6f801Copy full SHA for da6f801
docs/src/first_steps/persistence.md
@@ -26,9 +26,9 @@ reloaded_g = loadgraph("mygraph.lg")
26
Finally, dictionaries of graphs can also be saved and subsequently re-loaded one by one.
27
28
```julia
29
-graph_dict = {"g1" => erdos_renyi(5, 0.1),
+graph_dict = Dict("g1" => erdos_renyi(5, 0.1),
30
"g2" => erdos_renyi(10, 0.2),
31
- "g3" => erdos_renyi(2, 0.9)}
+ "g3" => erdos_renyi(2, 0.9))
32
33
savegraph("mygraph_dict.lg", graph_dict)
34
0 commit comments