I am trying to construct a certain topological structure for my paper. Up until now my focus was primarily on typesetting (AKA I'm not very skilled at certain portions of tikz). I managed to break through and comprehend some of the more complex code given in this very helpful TEX.SX thread. This is my MWE so far:
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{tqft}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[every tqft/.append style={transform shape, rotate=0, tqft/circle x radius=7pt, tqft/circle y radius=3pt, tqft/boundary separation=1.3cm}]
\pic[
tqft/pair of pants,
name=b,
every incoming upper boundary component/.style={draw},
every incoming boundary component/.style={draw},
cobordism edge/.style={draw}
];
\pic[
tqft/reverse pair of pants,
name=c,
every outgoing lower boundary component/.style={draw},
cobordism edge/.style={draw},
at=(b-outgoing boundary 1),
];
\node at (0,-4.5) {$\vdots$};
\pic[
tqft/pair of pants,
name=d,
every incoming upper boundary component/.style={draw},
every incoming boundary component/.style={draw},
cobordism edge/.style={draw}
];
\pic[
tqft/reverse pair of pants,
name=e,
every outgoing lower boundary component/.style={draw},
cobordism edge/.style={draw},
at=(b-outgoing boundary 2),
% at=(0,-6.5),
];
\end{tikzpicture}
\end{document}
Which gives me this quazi-shape:
I am aware that this is due to the definitions of the boundaries, so I tried to switch to a coordinate approach, which you can see commented out underneath, and for a very good reason. If I were to compile my code with the commented line (of course the latter would replace at=(b-outgoing boundary 2),) the compilation itself would never be completed.
I ask you to show me a suitable method of positioning the compositions in the pic environment by coordinates, similar to my endeavour, of course. And I also warmly ask you to fix one more little detail: at the bottom of the topological construct we see the enter to the "tube"; I'd like another half of the ellipse behind the construct to denote that this particular part is covered and to give a sense of "3D" perspective. The "height" of the ellipse is accommodate by changing the y value in tikzpicture's preamble, but I have no idea how to achieve the dashed part.
Thank you in advance.



pics were very new when I ported the original tqft code from nodes to pics and many of my design choices were influenced by the original node syntax. – Andrew Stacey Jun 29 '18 at 18:53\usepackage{crystalball} \polish{crystal}– Andrew Stacey Jun 29 '18 at 22:01