Allow requesting the unrendered dot graph from the graph endpoint

When api/graph.{dot,gv} is requested the raw string for dot gets returned.
This allows client-side rendering rather than server-side. It also makes
the optional dependency on graphivz for dot unnecessary to use the graph
endpoint.
This commit is contained in:
Harald Sitter
2017-01-13 12:57:42 +01:00
parent 570835227b
commit 345fa02fdc
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -22,3 +22,4 @@ List of contributors, in chronological order:
* Phil Frost (https://github.com/bitglue)
* Benoit Foucher (https://github.com/bentoi)
* Geoffrey Thomas (https://github.com/geofft)
* Harald Sitter (https://github.com/apachelogger)