Skip to content

Exporting graph to JSON #89

@n3h3m

Description

@n3h3m

NetworkX has few primary methods to deal with JSON to/from the graph. Do we have a similar way to export a graph to JSON. https://networkx.github.io/documentation/stable/reference/readwrite/json_graph.html?highlight=json

Any hints would be appreciated. I'm mainly looking for implementations for node_link_data and node_link_graph, the former writes the graph as JSON and the later reads from JSON to graph.

If they are not implements, give me some direction, I would issue a pull request. Since I have to implement this for my current work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions