diff --git a/content/generators/geometric.md b/content/generators/geometric.md index bcca2b40..320eade6 100644 --- a/content/generators/geometric.md +++ b/content/generators/geometric.md @@ -198,7 +198,7 @@ import json # load json-ed networkx datafile with open("data/tesla_network.json") as infile: - G = nx.json_graph.node_link_graph(json.load(infile)) + G = nx.json_graph.node_link_graph(json.load(infile), edges="links") ``` ```{code-cell} ipython3