Skip to content

Render Graphviz images from web requests

Notifications You must be signed in to change notification settings

ayaka14732/graphviz-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphviz Server

A server that renders graphviz image from web requests.

Motivation

Render graph images on webpage.

Example

Graphviz source:

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.

About

Render Graphviz images from web requests

Topics

Resources

Stars

Watchers

Forks