Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
I stumbled upon a nice finite state machine generator here. It basically allows you to draw FSMs in HTML5 Canvas, and it exports them to PNG, SVG, or LaTeX. The actual javascript is over here. I’m currently working on making it better suited for making diagrams, but I don’t know javascript, so it will take quite a while! I thought I might as well post it here, because I think we all know the struggle of typesetting diagrams. For very rudimentary examples, however, all you really need to do is remove the instances of
\draw [black] (x,y) circle (3);
For example, here’s a pullback diagram that I made in just under four minutes:
\documentclass[12pt]{article}
\usepackage{tikz}
\begin{document} \begin{center} \begin{tikzpicture}[scale=0.2] \tikzstyle{every node}+=[inner sep=0pt] \draw (40.4,-49.7) node {}; \draw (62.7,-27.7) node {}; \draw (62.7,-49.7) node {}; \draw (40.4,-27.7) node {}; \draw (26.3,-14.9) node {}; \draw [black] (62.7,-30.7) – (62.7,-46.7); \fill [black] (62.7,-46.7) – (63.2,-45.9) – (62.2,-45.9); \draw (63.2,-38.7) node [right] {}; \draw [black] (43.4,-49.7) – (59.7,-49.7); \fill [black] (59.7,-49.7) – (58.9,-49.2) – (58.9,-50.2); \draw (51.55,-50.2) node [below] {}; \draw [black] (40.4,-30.7) – (40.4,-46.7); \fill [black] (40.4,-46.7) – (40.9,-45.9) – (39.9,-45.9); \draw (40.9,-38.7) node [right] {}; \draw [black] (43.4,-27.7) – (59.7,-27.7); \fill [black] (59.7,-27.7) – (58.9,-27.2) – (58.9,-28.2); \draw (51.55,-28.2) node [below] {}; \draw [black] (29.287,-14.632) arc (93.14628:48.10544:43.245); \fill [black] (60.54,-25.62) – (60.28,-24.71) – (59.61,-25.46); \draw (47.99,-16.45) node [above] {}; \draw [black] (38.075,-47.805) arc (-131.55229:-184.33485:36.321); \fill [black] (38.08,-47.81) – (37.81,-46.9) – (37.15,-47.65); \draw (27.76,-35.16) node [left] {}; \draw [black] (28.52,-16.92) – (38.18,-25.68); \fill [black] (38.18,-25.68) – (37.92,-24.78) – (37.25,-25.52); \draw (29.45,-21.79) node [below] {}; \end{tikzpicture} \end{center}
\end{document}
Hopefully this helps at least one person out, and I’ll post a follow up if I ever manage to get it up and running as a good tool for typesetting mathematics.
Cheers,
Harrison Smith.
1 to 1 of 1