https://github.com/ayaka14732/graphviz-server
Render Graphviz images from web requests
https://github.com/ayaka14732/graphviz-server
api graphviz server
Last synced: 8 months ago
JSON representation
Render Graphviz images from web requests
- Host: GitHub
- URL: https://github.com/ayaka14732/graphviz-server
- Owner: ayaka14732
- Created: 2021-11-05T16:12:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T04:17:11.000Z (over 3 years ago)
- Last Synced: 2025-03-27T10:51:15.235Z (10 months ago)
- Topics: api, graphviz, server
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Graphviz Server
A server that renders graphviz image from web requests.
## Motivation
Render graph images on webpage.
## Example
Graphviz source:
```graphviz
digraph G {
bgcolor=grey
A -> B;
}
```
URI encode:
https://graphviz.shn.hk/?src=digraph%20G%20%7B%0A%20bgcolor%3Dgrey%0A%20A%20-%3E%20B%3B%0A%7D
Result:

## API Usage
Query string:
- `src`: graphviz source code
- `format`: currently one of 'svg', 'png', 'gif', 'pdf'
## Supported Scripts
- CJK Characters
- Emoji
- Khmer
- Latin
Please open an issue if you want more writing systems to be supported.
## Deploy
The service is supposed to be deployed with Docker containers.