any_to_gjgf

any_to_gjgf(graph)

Convert a graph object from a supported library to gJGF.

Parameters

graph (graph object from a supported library)

Returns

gjgf (dict) – Dictionary adhering to gravis JSON Graph Format (gJGF) with “graph” as top level key.