code: def pipe(
      engine: str,
      format: str,
      data: bytes,
      renderer: typing.Optional[str] = None,
      formatter: typing.Optional[str] = None,
      quiet: bool = False,
  ) -> bytes:
      """Return ``data`` piped through Graphviz ``engine`` into ``format``.
  
      Args:
          engine: Layout commmand for rendering (``'dot'``, ``'neato'``, ...).
          format: Output format for rendering (``'pdf'``, ``'png'``, ...).
          data: Binary (encoded) DOT source string to render.
          renderer: Output renderer (``'cairo'``, ``'gd'``, ...).
          formatter: Output formatter (``'cairo'``, ``'gd'``, ...).
          quiet: Suppress ``stderr`` output from the layout subprocess.
  
      Returns:
          Binary (encoded) stdout of the layout command.
  
      Raises:
          ValueError: If ``engine``, ``format``, ``renderer``, or ``formatter`` are not known.
          graphviz.RequiredArgumentError: If ``formatter`` is given but no ``renderer``.
          graphviz.ExecutableNotFound: If the Graphviz executable is not found.
          subprocess.CalledProcessError: If the exit status is non-zero.
  
      Example:
          >>> import graphviz
          >>> graphviz.pipe('dot', 'svg', b'graph { hello -- world }')
          b'<?xml version=...'
      """
      cmd, _ = command(engine, format, None, renderer, formatter)
      out, _ = run(
          cmd, input=data, capture_output=True, check=True, quiet=quiet
      )
      return out
  
imports: import errno
  import logging
  import os
  import platform
  import re
  import subprocess
  import sys
  import typing
  from .None import tools
label_desc: Use image node_id 4 for calling a global function with example usage: pipe(engine, format, data, renderer, formatter, quiet) and returns: out