code: def setup_class(cls):
      cls.G = nx.path_graph(9)
      cls.DG = nx.path_graph(9, create_using=nx.DiGraph())
      cls.MG = nx.path_graph(9, create_using=nx.MultiGraph())
      cls.MDG = nx.path_graph(9, create_using=nx.MultiDiGraph())
      cls.Gv = nx.to_undirected(cls.DG)
      cls.DGv = nx.to_directed(cls.G)
      cls.MGv = nx.to_undirected(cls.MDG)
      cls.MDGv = nx.to_directed(cls.MG)
      cls.Rv = cls.DG.reverse()
      cls.MRv = cls.MDG.reverse()
      cls.graphs = [
          cls.G,
          cls.DG,
          cls.MG,
          cls.MDG,
          cls.Gv,
          cls.DGv,
          cls.MGv,
          cls.MDGv,
          cls.Rv,
          cls.MRv,
      ]
      for G in cls.graphs:
          G.edges, G.nodes, G.degree
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal, nodes_equal
label_desc: Use image node_id 1 for calling the TestChainsOfViews obj's underlying member method code with example usage: obj.setup_class(cls) without return types