docstr: All edges in original graph should exist in graph
docstr_tok: ["All","edges","in","original","graph","should","exist","in","graph"]
code: def test_all_edges_exist(self):
      """All edges in original graph should exist in graph"""
      edges = [
          (str(a), str(a + b + 1)) for a in range(2) for b in range(3)
      ]
      sm = StructureModel(edges)
      a_graph = plot_structure(sm)
  
      a_graph_edges_list = [
          (ed["from"], ed["to"]) for ed in a_graph.edges
      ]
  
      assert all(edge in a_graph_edges_list for edge in edges)
  
file_path: causalnex/tests/test_plotting.py
imports: from collections import namedtuple
  from causalnex.plots import EDGE_STYLE, GRAPH_STYLE, plot_structure
  from causalnex.structure import StructureModel
label_desc: Use image node_id 2 for calling the TestToPyvis obj's underlying member method code with example usage: obj.test_all_edges_exist() without return types