def METHOD_NAME(cls):
    cls.P4 = nx.path_graph(4)
    cls.K3 = nx.complete_bipartite_graph(3, 3)
    cls.C4 = nx.cycle_graph(4)
    cls.davis = nx.davis_southern_women_graph()
    cls.top_nodes = [
        n for n, d in cls.davis.nodes(data=True) if d["bipartite"] == 0
    ]