Class JSONGraphWriter
Defined in File JSONGraphWriter.h
Class Documentation
-
class JSONGraphWriter
Public Static Functions
Exports the provided graph in the json “adjacency like” format, supported by NetworkX/d3.js
- Parameters:
filepath – The path to save the graph to
directed_graph – The graph buffers to export
stream – CUDA stream (required by directed_graph for synchronising device buffers)
pretty_print – Whether JSON should be human readable (vs minified)
- Throws:
exception::InvalidFilePath – If the file cannot be opened for writing
exception::RapidJSONError – If conversion to JSON fails for any reason