ngraph.serialization
This library provides serialization and deserialization of a graph into various formats. Currently supported formats are:
- JSON - is the most readable and simple graph storage format. Main drawback of this format is its size - for large graph due to verbosity of the format it can take more space then it could.
- Matrix market format is a format suitable for representing general sparse matrices. Only nonzero entries are provided, and the coordinates of each nonzero entry is given explicitly. Most notably this format is used to store University of Florida Sparse Matrix Collection
You can also use specialized serializers:
- ngraph.fromdot - load graph from DOT format
- ngraph.todot - saves graph as DOT format
- ngraph.fromjson - load graph from JSON format
- ngraph.tojson - saves graph as JSON format