# Online LaTeX diagram graphical editor

Is there an online tool that generates the corresponding LaTeX code of a diagram which can be drawn using a graphical interface? A tool such as `latexdraw` but only using a web browser (like Detexify)?

-
If tikz code counts as "latex code", you can use inkscape to draw svg, and there exists a plugin which saves it as tikz code. For the web browser requisite, you can use svg-edit.googlecode.com/svn/branches/2.5.1/editor/… as editor, but still require inkscape to convert the svg to tikz. –  JLDiaz Nov 30 '12 at 10:05
The GeoGebra online tool, which can also be installed and run locally, comes to mind. It let's you do geometric drawings: define points, intersections, ellipses given the two foci and a point, etc... It will generate `TikZ` code for you.
This can be exported to `TikZ` (will generate a standalone document), which renders to
Note that `tikz` code exported by GeoGebra is not of highest quality... –  mbork Dec 10 '12 at 8:14