GraphShape.to_jsonable_dict

GraphShape.to_jsonable_dict()[source]

Serialize GraphShape to JSON-friendly dict.

Returns:

Dict with ‘HyperEdgeSet’ mapping to ints and ‘addresses’ as int.