import textwrap


def to_curvedskip(of, to, angle=60, xoffset=0):
    """
    Curved skip connection arrow.
    Optionally, set the angle (default=60) for out-going and in-coming arrow,
    and an x offset for where the arrow starts and ends.
    """
    text = rf"""
        \draw [copyconnection]
            ([xshift={xoffset}cm] {of}-east)
            to [out={angle},in={180-angle}]
            node {{\copymidarrow}}
            ([xshift={xoffset}cm] {to}-east);
    """
    return textwrap.dedent(text=text)