[Tex/LaTex] Lyx edit source code otherwise, How to insert diagrams

lyxsourcecodetechnical-drawing

Is it possible to edit source code in Lyx?

Otherwise, how might I draw diagrams like venn diagrams or graphs

Best Answer

Quick answer is no, though you can export the file to LaTeX and work from there.

Re. second question, you can insert any TeX code in LyX by using Ctrl+L (TeX button).