tikzjax VS mermaid

Compare tikzjax vs mermaid and see what are their differences.

tikzjax

TikZJax is TikZ running under WebAssembly in the browser (by kisonecat)

mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown (by knsv)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
tikzjax mermaid
2 122
412 66,838
- 2.1%
0.0 10.0
over 1 year ago 7 days ago
JavaScript JavaScript
LaTeX Project Public License v1.2 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tikzjax

Posts with mentions or reviews of tikzjax. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-04.
  • Ask HN: PST-plot for the web? (LaTeX's declarative SVG plot generation)
    1 project | news.ycombinator.com | 21 Mar 2023
    Do you want the TeX code to be converted to svg in the browser at rendering time or are you ok with converting the figures to svg beforehand and including them in your html files?

    For the former I would look at TikZjaX (https://github.com/kisonecat/tikzjax) which takes tikz code and convert it to svg on the fly, just like MathJaX converting TeX equations. It may be slow, though, especially for complicated plots.

    If you are OK with creating the figures beforehand and serving the generated svg, there are several options: Asymptote (https://asymptote.sourceforge.io/) can generate svg and even html files that you can embed in an iframe. You can convert any TeX figure to svg with dvisvgm (play with the --font-format option).

  • Using Obsidian for mathematical knowledge base
    4 projects | /r/ObsidianMD | 4 Apr 2022
    This was my first thought, but the last comment in that page linked above is promising. Someone has the real tikz running in the web browser, rendering to svg: https://github.com/kisonecat/tikzjax It might a simple matter of translating tikz-fenced code blocks to the appropriate script tag and letting that script do its thing.

mermaid

Posts with mentions or reviews of mermaid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.

What are some alternatives?

When comparing tikzjax and mermaid you can also consider the following projects:

obsidian-latex-environments - Quickly insert and change latex environments within math blocks in Obsidian.

plantuml - Generate diagrams from textual description

MathJax - Beautiful and accessible math in all browsers

C4-PlantUML - C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures

aws-icons-for-plantuml - PlantUML sprites, macros, and other includes for Amazon Web Services services and resources

draw.io - draw.io is a JavaScript, client-side editor for general diagramming.

d2 - D2 is a modern diagram scripting language that turns text to diagrams.

excalidraw - Virtual whiteboard for sketching hand-drawn like diagrams

graphviz

Graphviz - Simple Python interface for Graphviz

GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.

markdown-preview-enhanced - One of the 'BEST' markdown preview extensions for Atom editor!