An open API service indexing awesome lists of open source software.

https://github.com/iamacarpet/sketchviz-docker

Graphviz -> Sketchy PNG in one image, for automation
https://github.com/iamacarpet/sketchviz-docker

actions bitbucket-pipelines graphviz roughjs sketchviz

Last synced: 9 months ago
JSON representation

Graphviz -> Sketchy PNG in one image, for automation

Awesome Lists containing this project

README

          

# Sketchviz Docker

Inspired by `sketchviz.com` (although unaffiliated).

This container bundles:

* Graphviz
* A script using [RoughJS](https://www.npmjs.com/package/roughjs) to "draw" the graphs
* Tooling needed to convert from `SVG -> PNG` (`svgexport`).

Tested with BitBucket Pipelines, see [example script](examples/build_diagrams.sh).

## Example Image

As an example, using [Kingraph](https://github.com/rstacruz/kingraph).

We take the [family file](examples/kingraph/simpsons.yml)

Which initially renders like this:

![initial image](examples/kingraph/simpsons.svg)

Then we run it through our converter and get this:

![rough image](examples/kingraph/simpsons.png)