def METHOD_NAME(gds: GraphDataScience) -> None:
    nx_G = nx.Graph()
    nx_G.add_node(1, labels="N", time=1)
    nx_G.add_node(42, labels=["N", "M"], time=2)
    nx_G.add_node(1337, labels=["O"], time=3)
    nx_G.add_node(2, labels=["O"], time=10)
    nx_G.add_edge(1, 42, weight=0.4)
    nx_G.add_edge(1, 1337, weight=1.4)
    nx_G.add_edge(42, 1337, weight=0.1)
    nodes, rels = gds.graph.networkx._parse(nx_G)
    assert len(nodes) == 3
    assert_frame_equal(nodes[0], DataFrame({"labels": [["N"]], "nodeId": [1], "time": [1]}))
    assert_frame_equal(nodes[1], DataFrame({"labels": [["M", "N"]], "nodeId": [42], "time": [2]}))
    assert_frame_equal(nodes[2], DataFrame({"labels": [["O"], ["O"]], "nodeId": [1337, 2], "time": [3, 10]}))
    assert len(rels) == 1
    assert_frame_equal(
        rels[0],
        DataFrame(
            {
                "relationshipType": ["R"] * 3,
                "sourceNodeId": [1, 1, 42],
                "targetNodeId": [42, 1337, 1337],
                "weight": [0.4, 1.4, 0.1],
            }
        ),
    )