3 ms·
Why is the Gantt chart rendered in JavaScript on the client instead of right away by the .md > .html converter?
by beeforpork 2y ago
Why is the Gantt chart rendered in JavaScript on the client instead of right away by the .md > .html converter?
- chad1n 2y agoI think that the point is to be easy to be changed, since Mermaid's first use case is to be used in building diagrams/graphs with data fetched at runtime like telemetry or finances data. I guess you can probably use Mermaid and take the resulting html and add it to the resulting document if you really want.
- karolist 2y agoHa, I was pondering the exact same question after reading this, for this use-case and in more widespread sense. I've came to the conclusion that it's a form of outsourcing your costs. The clients want to view your charts? They pay for it with their electricity, instead of your server doing handouts for everyone.