Export an editable TikZ diagram
Turn core Graphics geometry into publication-ready TikZ source.
Produce TikZ/PGF source
TikZ generation is browser-safe because it only produces text. The default result is a tikzpicture fragment; pass standalone=1 when the source should include a compilable LaTeX document wrapper.
Repeated styles become reusable rixStyleN declarations. Markers and gradients use fields on the portable Graphics style:
Export a plot as PGFPlots
The plot plugin retains a semantic copy of its resolved data in Graphic metadata. TikZ recognizes that contract and emits native axes and series:
The generated source contains \begin{axis}, \addplot, the original resolved data coordinates, a legend entry, and declarations for PGFPlots and plotmarks. Use {= preamble=1 } instead when you want dependency declarations plus a fragment rather than a complete document.
Coordinates retain the SVG/Canvas top-left orientation. Endpoint-form SVG arc commands fail visibly until their geometric conversion is defined.
- Browser: complete TikZ source generation; no TeX compilation.
- CLI: no external tools to emit
.tikz. - Options:
standalone,preamble.