Tools to write out a graph or read one in.
Bases: object
Read graph from a file.
Read a graph from an input stream
Parameters: | instream – the input stream |
---|---|
Returns: | a graph corresponding to the JSON data in the stream |
Read data from a string input.
Parameters: | data – the JSON formatted data |
---|---|
Returns: | the graph |
Return type: | DiGraph |
Bases: object
Write graph to a file.
Write a graph to an output stream.
Parameters: |
|
---|
alias of JSONReader
alias of JSONWriter