Class JSONGraphReader
Defined in File JSONGraphReader.h
Class Documentation
-
class JSONGraphReader
Public Static Functions
Imports the provided graph from the json “adjacency like” format, supported by NetworkX/d3.js
- Parameters:
filepath – The path to load the graph from
directed_graph – The graph buffers to import into
stream – CUDA stream (required by directed_graph for synchronising device buffers)
- Throws:
exception::InvalidFilePath – If the file cannot be opened for reading
exception::RapidJSONError – If JSON fails for any reason (e.g. structure does not match expectations)