mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
doc: add new graph API endpoint to OpenAPI spec
This commit is contained in:
parent
62bed4953d
commit
fb4f8c7ccb
1 changed files with 42 additions and 0 deletions
|
@ -756,3 +756,45 @@ paths:
|
|||
description: Success. The path has been stopped.
|
||||
'404':
|
||||
description: Error. There is no path with the given UUID.
|
||||
|
||||
"/graph.{format}":
|
||||
get:
|
||||
summary: Get a graph representation of the currently loaded configuration.
|
||||
parameters:
|
||||
- in: path
|
||||
name: format
|
||||
schema:
|
||||
type: string
|
||||
description: The image format of the generated graph.
|
||||
enum:
|
||||
- ps
|
||||
- eps
|
||||
- txt
|
||||
- svg
|
||||
- svgz
|
||||
- gif
|
||||
- png
|
||||
- jpg
|
||||
- jpeg
|
||||
- bmp
|
||||
- dot
|
||||
- fig
|
||||
- json
|
||||
- pdf
|
||||
- in: query
|
||||
name: layout
|
||||
schema:
|
||||
type: string
|
||||
description: The Graphviz layout engine used for rendering the graph.
|
||||
enum:
|
||||
- circo
|
||||
- dot
|
||||
- fdp
|
||||
- neato
|
||||
- nop
|
||||
- nop1
|
||||
- nop2
|
||||
- osage
|
||||
- patchwork
|
||||
- sfdp
|
||||
- twopi
|
||||
|
|
Loading…
Add table
Reference in a new issue