VisGraph.to_dict()

Serialize to a dictionary.

Usage

Source

VisGraph.to_dict()

Examples

d = graph.to_dict()
len(d["nodes"])  # 10