<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[a4paper]{article}

\usepackage[pdf]{dottex}

\begin{document}

\begin{dotpic}[width=.5\textwidth]
	a -&gt; b;
	a -&gt; c;
	b -&gt; d;
	d -&gt; a;
\end{dotpic}

\begin{neatopic}
	a -- b;
	b -- c;
	a -- g;
	e -- f;
	g -- c;
\end{neatopic}

\end{document}
</pre></body></html>