class_docstr: Assemble, save, and render DOT source code, open result in viewer.
class_docstr_tok: ["Assemble",",","save",",","and","render","DOT","source","code",",","open","result","in","viewer","."]
docstr: Create an edge between two nodes.
  
  Args:
      tail_name: Start node identifier (format: ``node[:port[:compass]]``).
      head_name: End node identifier (format: ``node[:port[:compass]]``).
      label: Caption to be displayed near the edge.
      attrs: Any additional edge attributes (must be strings).
  
  Note:
      The ``tail_name`` and ``head_name`` strings are separated by
      (optional) colon(s) into ``node`` name, ``port`` name, and
      ``compass`` (e.g. ``sw``).
      See :ref:`details in the User Guide <ports>`.
docstr_tok: ["Create","an","edge","between","two","nodes",".","Args",":","tail_name",":","Start","node","identifier","(","format",":","``","node","[",":","port","[",":","compass","]","]","``",")",".","head_name",":","End","node","identifier","(","format",":","``","node","[",":","port","[",":","compass","]","]","``",")",".","label",":","Caption","to","be","displayed","near","the","edge",".","attrs",":","Any","additional","edge","attributes","(","must","be","strings",")",".","Note",":","The","``","tail_name","``","and","``","head_name","``","strings","are","separated","by","(","optional",")","colon","(","s",")","into","``","node","``","name",",","``","port","``","name",",","and","``","compass","``","(","e.g",".","``","sw","``",")",".","See",":","ref",":","`","details","in","the","User","Guide","<","ports",">","`","."]
code: def edge(
      self, tail_name, head_name, label=None, _attributes=None, **attrs
  ):
      """Create an edge between two nodes.
  
      Args:
          tail_name: Start node identifier (format: ``node[:port[:compass]]``).
          head_name: End node identifier (format: ``node[:port[:compass]]``).
          label: Caption to be displayed near the edge.
          attrs: Any additional edge attributes (must be strings).
  
      Note:
          The ``tail_name`` and ``head_name`` strings are separated by
          (optional) colon(s) into ``node`` name, ``port`` name, and
          ``compass`` (e.g. ``sw``).
          See :ref:`details in the User Guide <ports>`.
      """
      tail_name = self._quote_edge(tail_name)
      head_name = self._quote_edge(head_name)
      attr_list = self._attr_list(label, attrs, _attributes)
      line = self._edge % (tail_name, head_name, attr_list)
      self.body.append(line)
  
imports: from .None import backend
  from .None import files
  from .None import lang
label_desc: Use image node_id 7 for calling the Dot obj's underlying member method code with example usage: obj.edge(tail_name, head_name, label, _attributes) without return types