See https://github.com/XmacsLabs/quiver
Quiver plugin allows user copy and paste LaTeX snippets from https://q.uiver.app and then get the graph.
To use the Quiver plugin, a proper configured LaTeX environment is needed. See https://github.com/XmacsLabs/quiver/blob/master/latex/quiver.sty for more details.