Skip to content

Commit

Permalink
Quickfix to remove pos hardcoding in to_skip func
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Mar 14, 2019
1 parent 597e4af commit fa2ba3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycore/tikzeng.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fa2ba3d

Please sign in to comment.