What TeX packages exist specifically for drawing string diagrams, e.g. like these:
(or with similar styles)?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
The Tikz package (https://www.sharelatex.com/learn/TikZ_package) would appear to be sufficiently powerful to do what you request.
I have not tried this approach, but the link is live.
I hope that this helps.