networkx_to_gjgf

networkx_to_gjgf(graph)

Convert a NetworkX graph object to gJGF.

Parameters

graph (graph object from NetworkX)

Returns

gjgf (dict) – Dictionary adhering to gravis JSON Graph Format (gJGF)