What TeX packages exist specifically for drawing string diagrams, e.g. like these:


(or with similar styles)?

  • 2
    "knot diagrams" might also be a useful concept here. (one possibility: How to make nice braids diagrams; i hove no personal experience with this, hence a comment, not an answer.) Jun 19, 2016 at 16:13
  • What have you tried or looked at? What if the answer is that there are not any? That is, the diagram is pretty simple and pretty generic, frankly, so why would somebody create a special strings package to draw it rather than using one of the general tools available which can draw this and many other things easily?
    – cfr
    Jun 19, 2016 at 16:13
  • 5
    @cfr I think obviously because some people want to draw a lot of those and want to draw diagrams that are also more complicated than the above, e.g. give a complete proof that every adjunction induces a monad in string diagram language. Jun 19, 2016 at 17:08
  • what was the best option you found ? I would like to add colors to those diagrams as well
    – nicolas
    Jun 16, 2017 at 22:32
  • @nicolas I draw them in TikZ directly. It's not as bad as I expected it to be. Jun 17, 2017 at 6:28

1 Answer 1


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.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .