I am unsure if this is the right place to ask this but I have seen this style of diagrams (shamelessly stolen from this question):
mostly in an academic setting, i.e. assignments, exams, publications, etc. Anyone have any idea how these diagrams are created. Are they created in Latex/Tikz/PGF, illustrator, paint, something else?