backend.graph_to_nx =================== .. py:module:: backend.graph_to_nx Functions --------- .. autoapisummary:: backend.graph_to_nx.graph_to_nx Module Contents --------------- .. py:function:: graph_to_nx(graph: motile.TrackGraph) -> networkx.DiGraph Convert a motile TrackGraph into a networkx DiGraph. Args: graph (TrackGraph): TrackGraph to be converted to networkx Returns: nx.DiGraph: Directed networkx graph with same nodes, edges, and attributes.