Using Isabelle/HOL (2021), one can generate diagrams for simple inference rules, e.g. as follows
text ‹
Writing \verb!@!\verb!{thm[mode=Rule] conjI}! produces
@{thm[mode=Rule] conjI}, even in the middle of a sentence.
›
Is it possible to use the same system to generate trees of inference rules such as the following (from here):