Difference between revisions of "Diagrams"
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
Model -- Code; | Model -- Code; | ||
} | } | ||
+ | |- | ||
+ | | neato | ||
+ | |<pre> | ||
+ | graph G { | ||
+ | run -- intr; | ||
+ | intr -- runbl; | ||
+ | runbl -- run; | ||
+ | run -- kernel; | ||
+ | kernel -- zombie; | ||
+ | kernel -- sleep; | ||
+ | kernel -- runmem; | ||
+ | sleep -- swap; | ||
+ | swap -- runswap; | ||
+ | runswap -- new; | ||
+ | runswap -- runmem;n | ||
+ | new -- runmem; | ||
+ | sleep -- runmem; | ||
+ | } | ||
+ | </pre> | ||
+ | | <graphviz> | ||
</graphviz> | </graphviz> | ||
+ | graph G { | ||
+ | run -- intr; | ||
+ | intr -- runbl; | ||
+ | runbl -- run; | ||
+ | run -- kernel; | ||
+ | kernel -- zombie; | ||
+ | kernel -- sleep; | ||
+ | kernel -- runmem; | ||
+ | sleep -- swap; | ||
+ | swap -- runswap; | ||
+ | runswap -- new; | ||
+ | runswap -- runmem;n | ||
+ | new -- runmem; | ||
+ | sleep -- runmem; | ||
+ | } | ||
+ | </graphviz> | ||
+ | |||
|} | |} | ||
Revision as of 06:18, 15 February 2020
OsProject | |
---|---|
id | diagrams |
state | |
owner | BITPlan |
title | Diagrams rendering service for graphviz, mscgen and plantuml |
url | https://github.com/BITPlan/diagrams |
version | 0.0.1 |
description | |
date | 2020-02-14 |
since | |
until |
Click here to comment see Diagrams
What is it ?
This is a Python based webservice to render diagrams for
Demo
Examples
tool | source | image |
---|---|---|
dot | graph development { Stakeholder -- Requirements; Requirements -- Samplecases; Requirements -- Model; Model -- Code; } |
graph G { run -- intr; intr -- runbl; runbl -- run; run -- kernel; kernel -- zombie; kernel -- sleep; kernel -- runmem; sleep -- swap; swap -- runswap; runswap -- new; runswap -- runmem;n new -- runmem; sleep -- runmem; } </graphviz> |
Json API
Diagrams
Example
{
"diagrams": {
"png": {
"url": "http://diagrams.bitplan.com/render/png/0xb00d69ad"
}
}
}
Errors
Example
{
"error": "service not ready",
"message": "not implemented yet"
}