From ee55ceb35b3953b356c5bc19ef4ad5fbb08f8a22 Mon Sep 17 00:00:00 2001 From: nruest Date: Mon, 13 Apr 2020 10:38:45 -0400 Subject: [PATCH] Remove WriteGraph; see https://github.com/archivesunleashed/aut/pull/441 --- current/link-analysis.md | 8 ++++---- current/standard-derivatives.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/current/link-analysis.md b/current/link-analysis.md index 495172f..a0df0a1 100644 --- a/current/link-analysis.md +++ b/current/link-analysis.md @@ -336,17 +336,17 @@ val links = RecordLoader.loadArchives("/path/to/warcs", sc) .countItems() .filter(r => r._2 > 5) -WriteGraph(links, "links-for-gephi.gexf") +WriteGEXF(links, "links-for-gephi.gexf") ``` This file can then be directly opened by Gephi. We also support exporting to the -[GraphML](https://en.wikipedia.org/wiki/GraphML) format. To do so, the -following variation on `WriteGraph` will work: +[GraphML](https://en.wikipedia.org/wiki/GraphML) format. To do so, use +the `WriteGraphml` method: ```scala -WriteGraph.asGraphml(links, "links-for-gephi.graphml") +WriteGraphml(links, "links-for-gephi.graphml") ``` ### Scala DF diff --git a/current/standard-derivatives.md b/current/standard-derivatives.md index 1ea9e67..fc0e28c 100644 --- a/current/standard-derivatives.md +++ b/current/standard-derivatives.md @@ -57,7 +57,7 @@ val links = warcs .countItems() .filter(r => r._2 > 5) -WriteGraph.asGraphml(links, "/path/to/derivatives/auk/graph/example.graphml") +WriteGraphml(links, "/path/to/derivatives/auk/graph/example.graphml") sys.exit ```