2

I'm trying to put my PlantUml diagrams in the Wiki of BitBucket using Markdown. To do that, I use the Gravizo service. Gravizo uses Graphviz to render graphs. It supports DOT, PlantUML, UMLGraph syntax and SVG in JSON format.

This is a test diagram:

@startuml;
Scraper -> Server: ciao
@enduml

I have my diagram code stored in a file of the repo (diagram.uml).

The syntax should be correct, since in the PlantUML viewer works (watch demo)

Hower, in markdown, it shows a broken image. I really don't get what's wrong.

This is the Markdown code I use, with the syntax http://g.gravizo.com/source?file_url_with_uml

![image](http://g.gravizo.com/source?https%3A%2F%2Fbitbucket.org%2Fhub21dev%2Fscraper-news-server%2Fraw%2Fdocumentation%2Fwhole_process.uml)

Is there a way to debug what's the error? Thank you

DeLac
  • 1,068
  • 13
  • 43
  • Have you tried visiting http://g.gravizo.com/source?https%3A%2F%2Fbitbucket.org%2Fhub21dev%2Fscraper-news-server%2Fraw%2Fdocumentation%2Fwhole_process.uml yourself? It doesn't look like it's working to me. – ChrisGPT was on strike May 14 '18 at 11:55
  • that's the problem. I don't know why it's not working. plantUML syntax seems correct – DeLac May 14 '18 at 12:04
  • This has nothing to do with Markdown (and I'm not sure why you're using the [tag:graphviz] tag either). You need to get the image rendering on gravizo.com (whatever that is). Focus on that. – ChrisGPT was on strike May 14 '18 at 12:06
  • Gravizo uses Graphviz to render graphs. It supports DOT, PlantUML, UMLGraph syntax and SVG in JSON format. In Gravizo Test, the syntax is correct – DeLac May 14 '18 at 12:13
  • 1
    If the syntax is correct this looks like an error with the Gravizo service. I suggest contacting them. – ChrisGPT was on strike May 14 '18 at 12:23

0 Answers0