TomWright / mermaid-server

Go implementation of a HTTP server to allow remote generation of mermaid-js diagrams without any pre-requisites installed locally.
317 stars 42 forks source link

truncated results #135

Open reddiana opened 1 year ago

reddiana commented 1 year ago

Sometimes, rendering results are truncated and displayed incompletely. Here are the cases I have tested:

curl --location 'http://182.195.92.127:8082/generate' \
--header 'Content-Type: text/plain' \
--data 'graph
    a --> b1
    d --> b3
    a --> b2
    a --> b3
    b1 --> c
    b2 --> c
    b3 --> c
    c --> d
    e --> f
    f --> d
'

image

jhunters commented 1 year ago

I met the same problem, did we has any solutions?

TomWright commented 1 year ago

mermaid-server essentially just runs mermaid-cli via HTTP. I have seen that the cli version used here is quite out of date. I will look at updating the cli to see if it: A: Solves this problem B: Allows access to some new argument which can solve this problem