Skip to content

Commit

Permalink
Debug link index assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
David Mora authored and David Mora committed Dec 4, 2017
1 parent 1942682 commit b944a6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/2-format-graph-data-from-authors-papers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def addEdge(source, target, value):
for paperTitle in papersDict:
paper = papersDict[paperTitle]
# add to nodeArray
currPaperIndex = currNodeArrayIndex
currNodeArrayIndex = addNode(paper, 1, currNodeArrayIndex)
currPaperIndex = currNodeArrayIndex
# add all in going links (citations)
for citedPaper in paper["citations"]:
currNodeArrayIndex = addNode(citedPaper, 1, currNodeArrayIndex)
Expand Down
2 changes: 1 addition & 1 deletion data/graph-data.json

Large diffs are not rendered by default.

0 comments on commit b944a6e

Please sign in to comment.