Skip to content

Commit 108618d

Browse files
committed
Updated to 1.12
* Bumped Buefy and vis.js Network to newest versions. ! Fixed bug: Changing "Number shown" for "Incoming suggestions" and "Outgoing suggestions" didn't update networks anymore since 1.1.
1 parent f915412 commit 108618d

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
10.05.2023 v1.12
2+
* Bumped Buefy and vis.js Network to newest versions.
3+
! Fixed bug: Changing "Number shown" for "Incoming suggestions" and "Outgoing suggestions" didn't update networks anymore since 1.1.
4+
15
09.05.2023 v1.11
26
! Fixed data retrieval through OpenAlex (OA) (work.host_venue became deprecated).
37
! Fixed automatic 90° turning of Citation network when "fullscreen network" is toggled.
@@ -8,6 +12,7 @@
812
+ Added white background to networks' canvas so they can now properly be saved by right-click → "Open/Save Image".
913
+ Added option to also show first names after last names in node labels for Co-authorship network.
1014
+ Added "Incoming suggestions" to OpenAlex experimentally (activate by running "vm.settings.getCitationsOA = true" in browser console).
15+
* "Number shown" for "Incoming suggestions" and "Outgoing suggestions" is now saved with each network (i.e. tab) separately and stored locally when "Autosave results locally" is on or a JSON of network is downloaded.
1116
* Authors are now again distinguished by their names in the Co-authorship network and not by their hidden internal OpenAlex (OA) / Semantic Scholar (S2) ID due to seemingly many duplicates.
1217
! Fixed first/last name detection when name was formatted "last name, first name".
1318

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Local-Citation-Network
22

3-
4-
53
This web app aims to help scientists with their literature review using metadata from [OpenAlex](https://openalex.org/) (OA), [Semantic Scholar](https://semanticscholar.org/) (S2) and [Crossref](https://crossref.org/) (CR). Academic papers cite one another, thus creating a [citation network (= graph)](https://en.wikipedia.org/wiki/Citation_graph). Each node (= vertex) represents an article and each edge (= link / arrow) represents a reference / citation. Citation graphs are a topic of [bibliometrics, for which other great software exists as well](https://timwoelfle.github.io/Local-Citation-Network#bibliometrics).
64

75
This web app visualizes subsets of the global citation network that I call 'local citation networks', defined by the references (and citations) of a given set of input articles. In addition, the locally most relevant references (and citations) missing in the set of input articles are suggested for further review.

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ <h2 class="title is-4">Incoming suggestions
381381
<div class="content" v-if="currentGraph.incomingSuggestions && currentGraph.incomingSuggestions.length">
382382
<p>
383383
<a @click="indexFAQ = 'incoming-suggestions'; showFAQ = true;" href="#incoming-suggestions">Incoming suggestions</a> are the most cited references by the input articles that are still missing, thus they have high in-degrees. They tend to be older than most input articles. Number shown:
384-
<select @input="event => this.$set(currentGraph, 'maxIncomingSuggestions', +event.target.value)">
384+
<select @input="event => this.$set(currentGraph, 'maxIncomingSuggestions', +event.target.value)" @change="changeCitationNetworkSettings(); changeAuthorNetworkSettings()">
385385
<template v-for="val in [...Array(currentGraph.incomingSuggestions.length+1).keys()]">
386386
<option :value="val" :selected="val === currentGraph.maxIncomingSuggestions">{{ val }}</option>
387387
</template>
@@ -528,7 +528,7 @@ <h2 class="title is-4">Outgoing suggestions
528528
<div class="content" v-if="currentGraph.outgoingSuggestions && currentGraph.outgoingSuggestions.length">
529529
<p>
530530
<a @click="indexFAQ = 'outgoing-suggestions'; showFAQ = true;" href="#outgoing-suggestions">Outgoing suggestions</a> are citing the most input articles, thus they have high out-degrees. They tend to be newer than most input articles. Number shown:
531-
<select @input="event => this.$set(currentGraph, 'maxOutgoingSuggestions', +event.target.value)">
531+
<select @input="event => this.$set(currentGraph, 'maxOutgoingSuggestions', +event.target.value)" @change="changeCitationNetworkSettings(); changeAuthorNetworkSettings()">
532532
<template v-for="val in [...Array(currentGraph.outgoingSuggestions.length+1).keys()]">
533533
<option :value="val" :selected="val == currentGraph.maxOutgoingSuggestions">{{ val }}</option>
534534
</template>

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/* Local Citation Network v1.11 (GPL-3) */
1+
/* Local Citation Network v1.12 (GPL-3) */
22
/* by Tim Woelfle */
33
/* https://timwoelfle.github.io/Local-Citation-Network */
44

55
/* global fetch, localStorage, vis, Vue, Buefy */
66

77
'use strict'
88

9-
const localCitationNetworkVersion = 1.11
9+
const localCitationNetworkVersion = 1.12
1010

1111
const arrSum = arr => arr.reduce((a, b) => a + b, 0)
1212
const arrAvg = arr => arrSum(arr) / arr.length

lib/buefy.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/buefy.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/vis-network.min.js

Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)