code: def test_swizzles_2_dense(self):
      g = graphistry.edges(
          pd.DataFrame({"s": [1, 0], "d": [1, 0], "v": ["11", "00"]}),
          "s",
          "d",
      )
      ig = g.to_igraph()
      g2 = g.from_igraph(ig)
      assert g2._edges.equals(g._edges)
  
      gb = g.nodes(pd.DataFrame({"n": [1, 0], "v": ["11", "00"]}), "n")
      ig = gb.to_igraph()
      gb2 = gb.from_igraph(ig)
      assert gb2._nodes.equals(gb._nodes)
  
      gc = g.nodes(pd.DataFrame({"n": [0, 1], "v": ["00", "11"]}), "n")
      ig = gc.to_igraph()
      gc2 = gc.from_igraph(ig)
      assert gc2._nodes.equals(gc._nodes)
  
      gd = g.materialize_nodes()
      ig = gd.to_igraph()
      gd2 = gd.from_igraph(ig)
      assert gd2._nodes.equals(gd._nodes)
  
imports: import pyarrow
  import graphistry, logging, pandas, pytest, warnings
  from graphistry.tests.common import NoAuthTestCase
  from graphistry.constants import SRC, DST, NODE
  from graphistry.plugins.igraph import SRC_IGRAPH, DST_IGRAPH, compute_algs, compute_igraph, layout_algs, layout_igraph
label_desc: Use image node_id 6 for calling the Test_to_igraph obj's underlying member method code with example usage: obj.test_swizzles_2_dense() without return types