class_docstr: A connected graph of Vertex/Edge objects. A GraphBase is a *component* of a Graph that contains a connected set of Vertex and Edges.
  
  Attributes:
      verticesPoset (Poset[Vertex]): the partially ordered set of vertices of the graph.
      edgesPoset (Poset[Edge]): the partially ordered set of edges of the graph.
      loops (set[Edge]): the set of *loop* edges (of degree 0).
      directed (bool): indicates if the graph is considered *oriented* or not.
class_docstr_tok: ["A","connected","graph","of","Vertex\/Edge","objects",".","A","GraphBase","is","a","*","component","*","of","a","Graph","that","contains","a","connected","set","of","Vertex","and","Edges",".","Attributes",":","verticesPoset","(","Poset","[","Vertex","]",")",":","the","partially","ordered","set","of","vertices","of","the","graph",".","edgesPoset","(","Poset","[","Edge","]",")",":","the","partially","ordered","set","of","edges","of","the","graph",".","loops","(","set","[","Edge","]",")",":","the","set","of","*","loop","*","edges","(","of","degree","0",")",".","directed","(","bool",")",":","indicates","if","the","graph","is","considered","*","oriented","*","or","not","."]
docstr: remove Edge e, asserting that the resulting graph is still connex.
docstr_tok: ["remove","Edge","e",",","asserting","that","the","resulting","graph","is","still","connex","."]
code: def remove_edge(self, e):
      """
      remove Edge e, asserting that the resulting graph is still connex.
      """
      if e not in self.edgesPoset:
          return
      e.detach()
      # check if still connected (path is not oriented here):
      if e.degree == 1 and not self.path(e.v[0], e.v[1]):
          # return to initial state by reconnecting everything:
          e.attach()
          # exit with exception!
          raise ValueError(e)
      else:
          e = self.edgesPoset.remove(e)
          if e in self.loops:
              self.loops.remove(e)
          return e
  
imports: from graphistry.layout.utils import Poset
label_desc: Use image node_id 6 for calling the GraphBase obj's underlying member method code with example usage: obj.remove_edge(e) and returns: e