Softwr

Mind Mapping and Diagramming · head to head

Graphviz vs MkDocs

Graphviz logo

Graphviz

Mind Mapping and Diagramming

Open source graph visualisation that draws diagrams from a plain text language

From
Free
Free plan
Yes
MkDocs logo

MkDocs

Documentation

Static site generator for project documentation in Markdown

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Graphviz lists DOT text graph language; only MkDocs lists plain Markdown.
  • Where Graphviz falls short: no visual editor; diagrams are written as text.
  • Where MkDocs falls short: no built-in versioning, which Docusaurus provides and documentation teams eventually need.

How do Graphviz and MkDocs differ?

Graphviz and MkDocs differ on pricing model, platforms and category. Only the attributes on which Graphviz and MkDocs actually diverge.

Attributes where Graphviz and MkDocs differ
AttributeGraphvizMkDocs
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsLinux, Windows, macOSWeb, Linux, macOS, Windows
CategoryMind Mapping and DiagrammingDocumentation

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Graphviz.

Which features does each one have?

They share no listed features; 8 appear only for Graphviz and 4 only for MkDocs. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Graphviz

  • DOT text graph language
  • Multiple layout engines
  • SVG, PNG and PDF output
  • PostScript output
  • Custom node shapes and styles
  • Hyperlinks in diagrams
  • gvpr graph stream editor
  • Command line and library use

Only in MkDocs

  • Plain Markdown
  • Single YAML config
  • Material theme
  • Live preview

What is each one used for?

Graphviz is most often brought in for generating dependency graphs from code; MkDocs for project documentation for teams that would rather not run a JavaScript toolchain. The jobs each tool is most often brought in to do.

Graphviz

  • Generating dependency graphs from codenot MkDocs
  • Documentation diagrams from build toolsnot MkDocs
  • Network and state machine diagramsnot MkDocs
  • Embedding graph rendering in applicationsnot MkDocs

MkDocs

  • Project documentation for teams that would rather not run a JavaScript toolchainnot Graphviz
  • Python projects keeping docs beside the codenot Graphviz
  • Documentation that must build fast in CI on every commitnot Graphviz

Where do Graphviz and MkDocs fall short?

Graphviz's most cited limit: no visual editor; diagrams are written as text. MkDocs's: no built-in versioning, which Docusaurus provides and documentation teams eventually need. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Graphviz

  • No visual editor; diagrams are written as text
  • Automatic layout gives little control over exact placement
  • Not intended to replace general diagramming tools
  • macOS arm64 installer was still in progress on the download page

MkDocs

  • No built-in versioning, which Docusaurus provides and documentation teams eventually need
  • Extending past the theme means writing Python plugins
  • Markdown only, so embedding interactive components is not the model

How much do Graphviz and MkDocs cost?

Graphviz is free to use; MkDocs is free to use. Plan by plan below, from each vendor's own pricing page.

Graphviz

Free

No published plan breakdown. See the Graphviz review.

MkDocs

Free
  • MkDocsFree
    • Full functionality
    • Commercial use permitted
    • Community support

Which should you pick?

Choose Graphviz if

  • You need dot text graph language.
  • You want to start without paying.
  • You work on Linux, Windows, macOS.
  • You also want multiple layout engines.

Choose MkDocs if

  • You need plain markdown.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want single yaml config.

Questions people ask

Is Graphviz or MkDocs better?
It depends on the job. Graphviz fits generating dependency graphs from code; MkDocs fits project documentation for teams that would rather not run a JavaScript toolchain. Graphviz starts at Free and MkDocs at Free.
Which is cheaper, Graphviz or MkDocs?
Graphviz starts at Free and MkDocs at Free.
Does Graphviz or MkDocs run on more platforms?
Graphviz runs on Linux, Windows, macOS. MkDocs runs on Web, Linux, macOS, Windows.
Can I use Graphviz for free?
Both have a free tier, so you can try either at no cost before committing.
What is Graphviz best used for?
Graphviz is most often used for generating dependency graphs from code, documentation diagrams from build tools, network and state machine diagrams, embedding graph rendering in applications. Of those, generating dependency graphs from code and documentation diagrams from build tools are not what MkDocs is typically brought in for.
What can Graphviz do that MkDocs cannot?
Graphviz covers DOT text graph language, Multiple layout engines, SVG, PNG and PDF output, PostScript output. MkDocs covers Plain Markdown, Single YAML config, Material theme, Live preview.

Answered from the vendors’ own pages

Graphviz: What licence does Graphviz use?

Current versions are licensed on an open source basis under the Eclipse Public License.

Source
MkDocs: Is MkDocs free?

Yes, open source under the BSD licence. The Material theme has a free version and a paid Insiders edition.

Graphviz: What does Graphviz output?

It produces images, SVG, PDF and PostScript, among other formats, from graphs described in its text language.

Source
MkDocs: MkDocs or Docusaurus?

MkDocs is simpler and faster to adopt, especially for Python teams. Docusaurus offers versioning, internationalisation and React components, which matter once documentation grows.

Graphviz: Which operating systems are supported?

The download page lists Linux, Windows and macOS packages, plus Solaris and several BSD systems.

Source
MkDocs: Does MkDocs support versioned docs?

Not natively. Plugins such as mike add it, where Docusaurus includes versioning in core.

Graphviz: Who started Graphviz?

It was initiated by AT&T Labs Research.

Source
Share

Related pages

Other head to heads