Re: [go-nuts] Generating Mermaid graph in web assembly

2020-04-02 Thread W. Michael Petullo
>> I have been using Go to define programs that I compile to web assembly. >> This works well in general, but I do not yet understanding how to express >> mermaid graphs (https://mermaid-js.github.io/mermaid/) from Go. >> [...] > I don't know mermaid but it sounded interesting so I took a look, an

Re: [go-nuts] Generating Mermaid graph in web assembly

2020-04-02 Thread Jakob Borg
I don't know mermaid but it sounded interesting so I took a look, and, > mermaid listens to the page load event and when fired (when the page has > loaded) > it will locate the graphs on the page and transform them to svg files. (https://mermaid-js.github.io/mermaid/#/usage) Presumably your cod