From fa2ba3d6ffcbcb464dfec94817ce5cd2b9e4549d Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Thu, 14 Mar 2019 21:26:49 +0100 Subject: [PATCH] Quickfix to remove pos hardcoding in to_skip func --- pycore/tikzeng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycore/tikzeng.py b/pycore/tikzeng.py index 17df4df..edbcba3 100644 --- a/pycore/tikzeng.py +++ b/pycore/tikzeng.py @@ -173,7 +173,7 @@ def to_connection( of, to): def to_skip( of, to, pos=1.25): return r""" \path ("""+ of +"""-southeast) -- ("""+ of +"""-northeast) coordinate[pos="""+ str(pos) +"""] ("""+ of +"""-top) ; -\path ("""+ to +"""-south) -- ("""+ to +"""-north) coordinate[pos=1.25] ("""+ to +"""-top) ; +\path ("""+ to +"""-south) -- ("""+ to +"""-north) coordinate[pos="""+ str(pos) +"""] ("""+ to +"""-top) ; \draw [copyconnection] ("""+of+"""-northeast) -- node {\copymidarrow}("""+of+"""-top) -- node {\copymidarrow}("""+to+"""-top)