docstr: remove edge e possibly spawning two new cores if the graph_core that contained e gets disconnected.
docstr_tok: ["remove","edge","e","possibly","spawning","two","new","cores","if","the","graph_core","that","contained","e","gets","disconnected","."]
code: def remove_edge(self, e):
      """
      remove edge e possibly spawning two new cores if the graph_core that contained e gets disconnected.
      """
      # get the GraphBase:
      c = e.v[0].component
      assert c == e.v[1].component
      if c not in self.components:
          return None
      # remove edge in GraphBase and replace it with two new cores
      # if removing edge disconnects the GraphBase:
      try:
          e = c.remove_edge(e)
      except ValueError:
          e = c.edgesPoset.remove(e)
          e.detach()
          self.components.remove(c)
          tmpg = type(self)(
              c.verticesPoset, c.edgesPoset, self.directed
          )
          assert len(tmpg.components) == 2
          self.components.extend(tmpg.components)
      return e
  
imports: from typing import List
  from .graphBase import GraphBase
  from graphistry.layout.utils import Poset
  import pandas
label_desc: Use image node_id 9 for calling the Graph obj's underlying member method code with example usage: obj.remove_edge(e) and returns: e, None