TikZ Editor – WYSIWYG editor for figures in LaTeX

Hi all! TikZ is a widely-used LaTeX package for drawing figures in papers. It uses commands like \draw[->] (0,0) -- (1,2); to draw lines, shapes, text, etc. Academics usually code up their figures by hand, so there is lots of twiddling around with the coordinates and recompiling until things look nice. I guess it’s a bit like SVG, but it’s more code than markup, for example it has loops with \foreach.I built an open-source WYSIWYG TikZ editor (available for web and desktop) that allows you to edit your TikZ source code visually by dragging and resizing elements. It simultaneously shows the source code and the rendered figure, and lets you edit either one while the two views stay in sync. I’m not aware of any other editors that are simultaneously source editors and WYSIWYG (even for editing SVG or HTML), and I’m quite pleased with how well the combination works.The way the app is implemented is by parsing the TikZ code, and at all times keeping track of the exact source location of each object. Thereby, when a user drags an element to a new position, the app can override just the numbers in the coordinate without changing anything else in the code (such as line breaks or indentation).This approach essentially required reimplementing a large fraction of TikZ, which is the kind of task that no human would ever want to do. I think building software that doesn’t exist yet because it would be impossibly tedious to code up is one of the great new possibilities thanks to coding agents, and it’s worth brainstorming for other examples. (This app was built almost entirely by Codex.)Implementing the app came with lots of fun side quests, including building converters from SVG / pptx / ipe to TikZ, re-implementing the LaTeX hyphenation and line-breaking algorithm to support multi-line nodes, and making a color picker that uses the red!20!black color mixing notation used in LaTeX papers.

Hacker NewsToolAISource
0Sign in to voteCopy link

FL score

62

out of 100

Verdict

VALIDATE

medium confidence

Competition

No competitor data yet

Trend

No signal yet

A dual-view TikZ editor that lets academics edit LaTeX figures by dragging elements while keeping source code in sync, solving the tedious coordinate-tweaking problem.

The pain

Academic researchers spend hours manually adjusting TikZ coordinates, recompiling, and tweaking numbers to position figures correctly. The current workflow is: write code → compile → check output → adjust numbers → repeat. This is friction-heavy and breaks flow.

The gap

No existing tool combines live visual editing with source code editing for TikZ. SVG editors exist but don't output TikZ. LaTeX editors have preview panes but no drag-to-edit capability. The gap is real but narrow, it only matters to people actively using TikZ.

Build angle

The technical implementation is genuinely novel: parsing TikZ, tracking source locations, and syncing edits between visual and code views required reimplementing large parts of TikZ. This is the kind of tedious work that AI agents excel at, making it economically viable to build something previously impractical.

Strengths

  • Solves a specific, real pain point for a defined user group (academic LaTeX users)
  • Technical approach is defensible, the dual-view sync mechanism is non-trivial to replicate
  • Already built and open-source, so proof of concept exists
  • Converters from SVG/PPTX/IPE add utility and reduce switching costs
  • Addresses a workflow bottleneck that wastes researcher time

Risks

  • Market size is small: only academics and researchers actively using TikZ, probably <100k globally
  • No clear monetization path, open-source positioning makes charging difficult
  • TikZ is a niche tool; most academics use simpler tools or outsource figure design
  • Maintenance burden: TikZ updates, LaTeX changes, and browser compatibility require ongoing work
  • Network effects are weak; value doesn't increase with more users
  • Competitive threat from AI-powered figure generation tools that bypass TikZ entirely
  • User acquisition is hard, reaching scattered academics requires content marketing or academic partnerships

Questions about this idea?

FlyBot reads the scoring and gives you a second opinion on “TikZ Editor – WYSIWYG editor for figures in LaTeX”.

Open FlyBot