Diagramas TQFT incompletos e espaço supérfluo

Diagramas TQFT incompletos e espaço supérfluo

Estou usando o pacote de Andrew Stacey para desenhar cobordismos (veja esta pergunta) e tenho duas perguntas.

Primeiramente, como posso conseguir um desenho como o abaixo? Para ser mais preciso, como eu faria para criar umgordocobordismo, onde algumas das entradas e saídasfaltando peças de limite, ou seja, não desenhado, mas implícito em pontos verticais?

insira a descrição da imagem aqui

Em segundo lugar, como faço para me livrar do espaço extra abaixo da calça reversa? afeta os parênteses

\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}

Responder1

Perto o suficiente...

\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}

informação relacionada