news.volyx.in

Create diagrams with code using Graphviz (ncona.com)

646 points by adrianancona · 2308 days ago · 211 comments on HN

Article summary

The article discusses the use of Graphviz, an open-source graph visualization software, to create diagrams with code. Graphviz allows users to describe a diagram using code and have it automatically drawn. The article covers the basics of Graphviz, including drawing graphs, using DOT, and customizing nodes and edges. Graphviz is useful for creating architecture diagrams and modifying them in the future.

Main themes

  • Graphviz
  • Diagram creation
  • Alternative tools
  • Visualization
  • Automated diagram generation
  • Graph aesthetics

What commenters say

  • Graphviz is a useful tool for visualizing state machines and other complex systems.
  • Some users prefer alternative tools like PlantUML or Tikz for creating diagrams.
  • Graphviz's syntax is easy to generate programmatically, making it a good choice for automated diagram creation.
  • The tool has some limitations, such as automatic edge placement and text wrapping issues, which can lead to visually ambiguous results.
  • Some users find Graphviz's default looks to be too LaTeX-like and are looking for alternatives with more modern aesthetics.
  • The tool is useful for creating simple diagrams, but may not be suitable for complex infrastructure diagrams.
  • Graphviz can be used in conjunction with other tools, such as Markdown, to create simple and effective diagrams.