I am trying to draw a schematic with TikZ, and I need to have a curved line in it.
I know the basics, the problem is that the line should be curved on the left, while it is always curved on the right. Has anyone any idea of why it is happening this way.
Here is my environment:
\documentclass[aspectratio=169, 14pt, notes]{beamer}
\usetheme{Madrid}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, calc, datavisualization.formats.functions, fadings, fit, graphs, intersections, math, patterns, positioning, shapes, shadows, through, tikzmark}
\begin{document}
\begin{frame}
\frametitle{My frame title}
\framesubtitle{My frame subtitle}
\begin{tikzpicture}[remember picture, overlay]
\node[inner sep=0pt, anchor=center, opacity=0.15, draw=blue5, font=\small, fit={({$(current page.north)!0.38!(current page.south)$} -| {$(current page.west)!0.08!(current page.east)$}) ({$(current page.north)!0.82!(current page.south)$} -| {$(current page.west)!0.92!(current page.east)$})}] (Wiring) at (current page.center) {This is my first box};
\draw[stealth-, dashed, line width=0.25mm, draw=green5] ($(Wiring.north west)!0.10!(Wiring.south west)$) to[out=180, in=180] ({$(Wiring.north)!-0.15!(Wiring.south)$} -| {$(Wiring.west)!0.05!(Wiring.east)$});
\end{tikzpicture}
\end{frame}
\end{document}
And here is a capture of what I get:

Here you I have added a violet line with what I want
Thanks for the help,



-|syntax works:\coordinate (A) at ($(Wiring.north)!-0.15!(Wiring.south)$); \coordinate (B) at ($(Wiring.west)!0.05!(Wiring.east)$); \draw[stealth-, dashed, line width=0.25mm, draw=green5] ($(Wiring.north west)!0.10!(Wiring.south west)$) to[out=180, in=180] (A -| B);. – Jasper Habicht Jul 06 '23 at 07:54($...$)coordinate calculation with the( ... |- ...)one. Basically, the{...}are not really grouping there. – Rmano Jul 06 '23 at 08:42-|/|-with calc is a tricky thing. – Qrrbrbirlbel Jul 06 '23 at 09:03