Diagramas TQFT incompletos y espacio superfluo

Diagramas TQFT incompletos y espacio superfluo

Estoy usando el paquete de Andrew Stacey para dibujar cobordismos (ver esta pregunta), y tengo dos preguntas.

En primer lugar, ¿cómo puedo lograr un dibujo como el siguiente? Para ser precisos, ¿cómo haría para crear ungordocobordismo, donde algunos de los entrantes y salientespiezas de límite faltantes, es decir, no dibujado sino implícito en puntos verticales.

ingrese la descripción de la imagen aquí

En segundo lugar, ¿cómo me deshago del espacio extra debajo del par de pantalones del revés? afecta las paréntesis

\documentclass{article}
\usepackage{tikz}
\usepackage{tqft}
\begin{document}
\[
S_M\left(\quad
\begin{tikzpicture}[tqft/flow=east]
    \node[draw, tqft, reverse pair of pants, boundary lower style={draw,dashed}] (A) {};
    \node[tqft boundary circle,draw] at (A.outgoing boundary 1) {};
\end{tikzpicture}
\quad\right)=\bullet
\]
\end{document}

Respuesta1

Suficientemente cerca...

\documentclass{article}
\usepackage{tikz}
    \usetikzlibrary{tqft}
\begin{document}
\[
    p\left\{\vphantom{\vrule height80pt}\right.
    \begin{tikzpicture}[baseline=57pt,ultra thick,red]
        \pic[
            tqft,rotate=90,
            cobordism height=70pt,boundary separation=30pt,
            cobordism edge/.style={draw},
            incoming boundary 2/.style={dotted},
            incoming upper boundary component 2/.style={dotted},
            incoming lower boundary component 2/.style={dotted},
            incoming boundary 3/.style={dotted},
            between outgoing 2 and 3/.style={dotted},
            outgoing upper boundary component 2/.style={dotted},
            outgoing lower boundary component 2/.style={dotted},
            between outgoing 1 and 2/.style={dotted},
            incoming boundary components=5,
            outgoing boundary components=4,offset=.5,
            every upper boundary component/.style={draw},
            every lower boundary component/.style={draw,thin},
            genus=3,
            hole 1/.style={rotate=-90,shift={(0pt,130pt)}},
            hole 2/.style={rotate=-90,shift={(-20pt,100pt)}},
            hole 3/.style={rotate=-90,shift={(-60pt,60pt)}},]{};
    \end{tikzpicture}
    \left.\vphantom{\vrule height60pt}\right\}q
\]
\end{document}

información relacionada