def METHOD_NAME(
    self,
    src: str,
    dst: str,
    label: str,
    *,
    extra: str = "",
):
    extra = extra.strip()
    if extra:
        extra = " " + extra
    self.out += f'{src} -> {dst} [label="{label}"{extra}]\n'