Closed ianmilligan1 closed 8 years ago
I've created a new branch for testing: https://github.com/lintool/warcbase/tree/fixing-d3js-scripts
process.py
shouldn't actually be there; it's a remnant from before I had GraphX working. Instead, once you generate your directories of nodes and links, you combine them using jq
as follows:
$ jq -c -n --slurpfile nodes <(cat nodes/part-*) --slurpfile links \
<(cat links/part-*) '{nodes: $nodes, links: $links}' > graph.json
OK. Documented here http://lintool.github.io/warcbase-docs/Spark-Network-Analysis/#visualizing-results-in-a-browser-with-d3js and closing.
Currently, process.py for the d3.js link visualizer works on an input file like so:
Our new input files look like:
process.py needs to be updated.