code: def _(op: MidMeasureMP, drawer, layer, _):
      text = None if op.postselect is None else str(int(op.postselect))
      drawer.measure(layer, op.wires[0], text=text)  # assume one wire
  
      if op.reset:
          drawer.erase_wire(layer, op.wires[0], 1)
          drawer.box_gate(
              layer + 1,
              op.wires[0],
              "|0⟩",
              box_options={"zorder": 4},
              text_options={"zorder": 5},
          )
  
imports: from collections import namedtuple
  from functools import singledispatch
  import pennylane
  from pennylane import ops
  from pennylane.measurements import MidMeasureMP
  from .mpldrawer import MPLDrawer
  from .drawable_layers import drawable_layers
  from .utils import convert_wire_order, unwrap_controls, cwire_connections, default_bit_map
  from .style import _set_style
label_desc: Use image node_id 11 for calling a global function with example usage: _(op, drawer, layer, _) without return types