def METHOD_NAME(
    self,
    src: str,
    dst: str,
    flow: int,
    cap: int,
    *,
    prelabel: str = "",
    postlabel: str = "",
    extra: str = "",
):
    label = f"{prelabel}{flow}/{cap}{postlabel}"
    if flow == 0:
        extra += " style=dotted"
    return self.mkedge(src, dst, label, extra=extra)