title | date | tags | |||
---|---|---|---|---|---|
Beautiful PNG from Graphviz |
2019-07-28 03:00:00 +0900 |
|
Outputted PNG by Graphviz must be beauty.
The plan is to convert SVG outputted by dot
to PNG.
You will install graphviz and librsvg by Homebrew.
brew install graphviz
brew install librsvg
And you can now create PNG with sizing option:
dot -Tsvg input.dot | rsvg-convert -w 1000 > output.png