From a1fc5497a162b8bc85d1a67786bcab0d771a2759 Mon Sep 17 00:00:00 2001 From: Saikat Karmakar <31238298+Aviksaikat@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:45:04 +0530 Subject: [PATCH] fixed usage of `write_graphml_file` as per latest update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0372e11..21176f1 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ let partitions = community::louvain::louvain_partitions(&graph, false, None, Non ```rust,ignore use graphrs::{readwrite, GraphSpecs}; let graph = readwrite::graphml::read_graphml_file("/some/file.graphml", GraphSpecs::directed()); -readwrite::graphml::write_graphml(&graph, "/some/other/file.graphml"); +readwrite::graphml::write_graphml_file(&graph, "/some/other/file.graphml"); ``` ### Get an adjacency matrix