Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayaka14732/graphviz-server
Render Graphviz images from web requests
https://github.com/ayaka14732/graphviz-server
api graphviz server
Last synced: about 2 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 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T04:17:11.000Z (over 2 years ago)
- Last Synced: 2024-10-14T20:41:56.185Z (3 months ago)
- Topics: api, graphviz, server
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 3
- 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:
![](https://graphviz.shn.hk/?src=digraph%20G%20%7B%0A%20bgcolor%3Dgrey%0A%20A%20-%3E%20B%3B%0A%7D)
## API Usage
Query string:
- `src`: graphviz source code
- `format`: currently one of 'svg', 'png', 'gif', 'pdf'## Supported Scripts
- CJK Characters
- Emoji
- Khmer
- LatinPlease open an issue if you want more writing systems to be supported.
## Deploy
The service is supposed to be deployed with Docker containers.