Difference between revisions of "Diagrams"

From BITPlan Wiki
Jump to navigation Jump to search
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|version=0.0.1}}
 
|version=0.0.1}}
 
{{:Diagrams/Links}}
 
{{:Diagrams/Links}}
 +
= What is it ? =
 +
This is a Python based webservice to render diagrams for
 +
# graphviz
 +
# mscgen
 +
# plantuml
 +
 +
= Demo =
 +
https://diagrams.bitplan.com
 +
= Examples =
 +
== dot ==
 +
<graphviz>
 +
graph development {
 +
  Stakeholder -- Requirements;
 +
  Requirements -- Samplecases;
 +
  Requirements -- Model;
 +
  Model -- Code;
 +
}
 +
</graphviz>
 +
 +
= Json API =
 +
== Diagrams ==
 +
Example
 +
<source lang='json'>
 +
{
 +
      "diagrams": {
 +
          "png": {
 +
            "url": "http://diagrams.bitplan.com/render/png/0xb00d69ad"
 +
          }
 +
      }
 +
    }
 +
</source>
 +
http://diagrams.bitplan.com/render/png/0xb00d69ad.png
 +
 +
== Errors ==
 +
Example
 +
<source lang='json'>
 +
{
 +
  "error": "service not ready",
 +
  "message": "not implemented yet"
 +
}
 +
</source>
 +
 
= Links =
 
= Links =
 
* https://diagrams.bitplan.com
 
* https://diagrams.bitplan.com
 
* https://www.mediawiki.org/wiki/Extension:Diagrams
 
* https://www.mediawiki.org/wiki/Extension:Diagrams

Revision as of 07:08, 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

  1. graphviz
  2. mscgen
  3. plantuml

Demo

https://diagrams.bitplan.com

Examples

dot

Json API

Diagrams

Example

{ 
       "diagrams": {
          "png": {
             "url": "http://diagrams.bitplan.com/render/png/0xb00d69ad"
          }
       }
    }

0xb00d69ad.png

Errors

Example

{ 
  "error": "service not ready",
  "message": "not implemented yet"
}

Links