class_docstr: A class to maintain the state during planarity check.
class_docstr_tok: ["A","class","to","maintain","the","state","during","planarity","check","."]
docstr: Recursive version of :meth:`dfs_embedding`.
docstr_tok: ["Recursive","version","of",":","meth",":","`","dfs_embedding","`","."]
code: def dfs_embedding_recursive(self, v):
      """Recursive version of :meth:`dfs_embedding`."""
      for w in self.ordered_adjs[v]:
          ei = (v, w)
          if ei == self.parent_edge[w]:  # tree edge
              self.embedding.add_half_edge_first(w, v)
              self.left_ref[v] = w
              self.right_ref[v] = w
              self.dfs_embedding_recursive(w)
          else:  # back edge
              if self.side[ei] == 1:
                  # place v directly after right_ref[w] in embed. list of w
                  self.embedding.add_half_edge(
                      w, v, ccw=self.right_ref[w]
                  )
              else:
                  # place v directly before left_ref[w] in embed. list of w
                  self.embedding.add_half_edge(
                      w, v, cw=self.left_ref[w]
                  )
                  self.left_ref[w] = v
  
imports: from collections import defaultdict
  import networkx
label_desc: Use image node_id 11 for calling the LRPlanarity obj's underlying member method code with example usage: obj.dfs_embedding_recursive(v) without return types