Closed mgh87 closed 3 years ago
Hello @mgh87
This might be related to https://github.com/yuzutech/kroki/issues/151.
That's correct but the upstream issue is: https://github.com/mermaid-js/mermaid/issues/1490
In theory, we could fix it in Kroki (i.e. extract the width and height from the viewbox
attribute) but it would be better to fix it directly in Mermaid.
If you have time to fix it in Mermaid that would be great! :+1:
Since we won't fix this issue in Asciidoctor Kroki, I suggest that we close this issue and continue the discussion at https://github.com/mermaid-js/mermaid/issues/1490 or https://github.com/yuzutech/kroki/issues/151
Ty for the response. Sorry forgot about this issue. I haven't found the issue in mermaid-js and you're completely right it should be fixed there. Closing it.
Hello, I wanted to use Antora with Kroki for a Mermaid sequence diagram. It looks like that kroki, returns no sizes for this diagram type. I tried out other diagrams with kroki which worked. I tried out the
kroki-fetch-diagram: true
, which also did not work. This might be related to https://github.com/yuzutech/kroki/issues/151.Example code of not working sequence diagram:
Example code of working sequence diagram:
Screenshot from the fetched image that has 0x0 size.![image](https://user-images.githubusercontent.com/2005565/90268067-b6951a00-de56-11ea-90c8-cf0b0b9c478b.png)