Search notes:

Graphviz

Graphviz stands for graph visualization software. Graphs are created by describing them in a specifically created language: dot.
Some examples can be found here.

Installing Graphviz

Windows

Chocolatey

On Windows, Graphviz can be installed with Chocolatey
choco install -y graphviz

Installation from a zip file within PowerShell

$latest_rel = invoke-restMethod https://gitlab.com/api/v4/projects/graphviz%2Fgraphviz/releases/permalink/latest
$version = $latest_rel.tag_name

#
# Download ZIP
#   TODO: Should probably be using $latest_rel.assets to determine download link:
#
$progressPreference = 'SilentlyContinue'
invoke-webRequest "https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/$version/windows_10_cmake_Release_Graphviz-$version-win64.zip" -outFile $env:temp\graphviz.zip

tar.exe xf $env:temp\graphviz.zip -C $env:temp
mv "$env:temp\Graphviz-$version-win64\bin" $home\bin\graphviz

#
# Set PATH temporarily ‥
$env:path="$home\bin\graphviz;$env:path"
# ‥ or, alternatively permanently:
# add-dirToPath add-dirToPath $home\bin\graphviz

Some important attributes

Some (imho) important attributes and attribute types are

Four phases when drawing

A graph is created in four phases:

Useful command line options

Setting DPI (or resolution) of generated graphs: -Gdpi=300.

Strings vs HTML strings

Ordinary strings are delimited with apostrophes: "…"
HTML strings are delimited by angle bracktes: <…>

TODO

How does Graphviz compare to Microsoft Automatic Graph Layout (MSAGL)?

See also

dot language
Perl modules GraphViz2 GraphViz::DBI
dot2.bat is a cmd.exe batch file that processes a Graphviz/dot file and opens the produced graph.
Creating graphviz files for Oracle related metadata:

Links

dot language (abstract grammar etc.)
Node, edge and graph attributes
https://github.com/ReneNyffenegger/about-Graphviz
https://github.com/observablehq/graphviz
viz.js builds Graphviz from Emscripten.
dot-to-ascii
The VCG (Visualization of Compiler Graphs) tool (sources on github).

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/tools/Gr...', 1758194040, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/tools/Graphviz/index(142): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78