Diagrams: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
Line 16: Line 16:
https://diagrams.bitplan.com
https://diagrams.bitplan.com
= Examples =
= Examples =
== dot ==
{| class="wikitable sortable"
<graphviz>
|-
! tool !! source !! image
|-
| dot || <pre>graph development {
  Stakeholder -- Requirements;
  Requirements -- Samplecases;
  Requirements -- Model;
  Model -- Code;
}</pre> || <graphviz>
graph development {  
graph development {  
   Stakeholder -- Requirements;  
   Stakeholder -- Requirements;  
Line 25: Line 33:
}
}
</graphviz>
</graphviz>
|}


= Json API =
= Json API =

Revision as of 05:17, 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

https://diagrams.bitplan.com

Examples

tool source image
dot
graph development { 
  Stakeholder -- Requirements; 
  Requirements -- Samplecases;
  Requirements -- Model;
  Model -- Code;
}

Json API

Diagrams

Example

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

http://diagrams.bitplan.com/render/png/0xb00d69ad.png

Errors

Example

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

Links