#mermaidjs — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #mermaidjs, aggregated by home.social.
-
I know “rewrite it in Rust” often elicits eye rolls from neckbeards (especially when done with AI assistance), but I have encountered several examples of such projects with compelling performance and portability benefits recently.
Today’s example is Merman, which is Mermaid.js but headless and in Rust.
-
- @wallabag user?
- :apple_inc: user?
- #latex and/or #mermaidjs enthusiast?Bingo? You’re in for a treat! Check the latest #frigoligo beta for the new rich content renderer supporting code highlighting, math annotations and mermaid graph.
-
O laboratório está aberto! Apresento o The Little Mermaid Editor! (#mermaid #mermaidjs #diagram #web #pwa)
https://raccoon.ninja/pt/post/general/lab-app-mermaid-editor/ -
The Lab is open! Here's The Little Mermaid Editor! (#mermaid #mermaidjs #diagram #web #pwa)
https://raccoon.ninja/post/general/lab-app-mermaid-editor/ -
I use #mermaidjs diagrams sometimes on my Hugo blog. It came with the theme I had so I learnt to use it. I am not sure when/what caused all my diagrams to all fail on the live site (I just noticed it). I couldn't fix it quickly, so I resorted to using their latest ESM JS via CDN for now.
<https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.14.0>
I always try to serve resources locally, but there are lots of chunk files? I'm not familiar with #Javascript and #ESM
-
TFW you just dump some test `mermaid.js` in the Nextcloud Notes app for later reference, but you add a ` ```mermaid ` marker because why not.
And it just renders it for you.
EDIT: nice options in the context menu, too!
-
I asked "Why Trebuchet?" in the #MermaidJS GitHub discussions, and I got a thorough and interesting answer!
https://github.com/orgs/mermaid-js/discussions/7335#discussioncomment-16233626
-
Using #MermaidJS for some diagrams is proving more difficult than I expected.
-
lucidVIEW my native Avalonia / C#) Markdown Viewer reaches v1. Extends @simoncropp's excellent Naiad Mermaid nuget package with some routing experiments I wanted to play with.
Also adds subgraph support, skinning and other stuff (JUST vibe coded though so not releasing separately 🤓)
Now they're all rendered as native Avalonia vectors so I can do things like showing Data Flow through a Mermaid flowchart (also loads about 90x faster than rendering pngs 😜). Oh and you can save mermaid to a png / svg from the viewer too.
THEORETICALLY X-Plat but I can't test it
https://github.com/scottgal/lucidview/releases/tag/v1.0.1
#csharp #dotnet #mermaidjs #markdown -
I find it so curious that #MermaidJS, for whatever reason, uses Trebuchet MS as its default font when rendering graphs -- not Arial, the (unfortunately) obvious choice. No matter where one shows up, there's Trebuchet: gangly and unmistakable. #typography
-
I have made 3 Mermaid diagrams on my Hugo blog and I really enjoyed the process... but I just discovered there's actually an Obsidian Mermaid plugin!
https://github.com/dartungar/obsidian-mermaid
It'll be very handy for making notes about my Indiekit set up and workflow charts. 🔲→🔲
#obsidianmd #obsidian #mermaidjs #mermaid #mermaiddiagrams #visualization #diagrams #opensource #foss
-
I think some #LLM and also Google Search have picked up on my post for making #MermaidJS sequence diagrams prettier, and now it's quite a regularly accessed post on my blog!
If you're keen: https://notepad.onghu.com/2024/making-mermaid-sequence-diagrams-prettier-part1/
-
New #blog on #BurgeonLab ✍️
➡️ https://burgeonlab.com/blog/generate-dynamic-og-images-diagram-with-code-scripts/
I wrote a guide on how to locally generate #OpenGraph images using just code and scripts. I explore D2 which is a bit like #MermaidJS and used #Bash to combine #CLI image processing like #imagemagick and #imagecompression.
If you give it a try, please let me know. I'm curious with what you come up with!
#blogging #blogs #guides #smallweb #newpost #blogpost #smolweb #techblog #ogimage
-
Finally got sick of my blog's mermaid display so made the GREATEST MERMAID DISPLAY EVAH. With a custom control which lets you export, pan, zoon, get full screen etc. Nicer than GitHub's ugly tumour of a control. https://www.mostlylucid.net/blog/enhancingmermaiddiagramswithpanzoomandexport
#mermaidjs #javascript #markdown -
TIL: Mermaid markup exists and is supported by GitHub (Cursor's `auto` model put it into an implementation summary report). This is so cool!
1. https://mermaid.js.org
2. https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams -
Ich weiss nie, ob ich #Mermaidjs hassen oder lieben soll. Aber die Integration ins #GitLab Kommentarsystem ist praktisch.
/me baut sich Flowcharts
-
Somehow, this post on my blog for making #MermaidJS sequence diagrams prettier is quite popular and I needed to refer to it myself today. So, ya, if you want prettier #SequenceDiagrams: https://notepad.onghu.com/2024/making-mermaid-sequence-diagrams-prettier-part1/
(I'm reminded I need to work on Part 2)
-
So what is your tool of choice for diagramming the network? I want something maintainable and not chained to some proprietary web services. Maybe the best way is to make some #MermaidJS generator from #Markdown since both formats are plain text and supported, but I am not sure no one had this bicycle invented yet.
-
If I had to explain my job... #IOER_FDz .. I'd just show this workflow from the last two days. It's a great example of building reproducible, automated documentation. 🚀
1. Start: A project schema, drafted by colleagues in Excel.
2. Problem: Excel isn't reproducible and is hard to use as a single source of truth for a database.
Solution: I migrated the schema to the universal Protobuf format, making it version-controlled and language-neutral. [1]3. Problem: Protobuf definitions aren't easy for everyone to read.
Solution: Using an existing #CI/#CD workflow from [3] (cheers @mcnesium), I put the schema on a documentation website. Now it's accessible and legible. [4]4. Problem: Colleagues still needed a familiar template for data collection.
Solution: Two Python scripts using #pandas now auto-generates both `.xlsx` and open-source `.ods` schema [5] and templates [6] directly from the Protobuf single-point-of-truth, and make all of these available for download, too.5. Problem: The text-based schema wasn't visual enough.
Solution: Added a script [7] to the CI that transforms the Protobuf files into a #MermaidJS class diagram, rendered directly on the docs site. [8]6. Problem: The diagram was too narrow in the site's layout.
Solution: The script now generates a second, wide-format version of the diagram for a dedicated fullscreen view. [9]7. Problem: The static diagram was hard to edit or restyle.
Solution: The CI now generates a shareable link to the Mermaid Live Editor [10]. It reads our latest diagram file, compresses it (using pako/zlib), and bakes it into the URL. Thanks to a code snippet from a friendly stranger on GitHub [11], anyone can now open the *latest* version of the schema in the editor with a single click.From a static Excel file to version-controlled, multi-format, visual, and interactive documentation, all fully automated. That's the job.
#Automation #GitLab #Python #Protobuf #OpenData #Documentation
[1]: https://gitlab.vgiscience.de/casereports/rwlschema
[2]: https://docs.casereports.fdz.ioer.info/
[3]: https://lbsn.vgiscience.org
[4]: https://docs.casereports.fdz.ioer.info/protobuf/
[5]: https://gitlab.vgiscience.de/casereports/rwlschema/-/blob/main/resources/generate_schema.py?ref_type=heads
[6]: https://gitlab.vgiscience.de/casereports/rwlschema/-/blob/main/resources/generate_template.py?ref_type=heads
[7]: https://gitlab.vgiscience.de/casereports/rwlschema/-/blob/main/resources/generate_proto_uml.sh?ref_type=heads
[8]: https://docs.casereports.fdz.ioer.info/konzept/
[9]: https://docs.casereports.fdz.ioer.info/uml/fullscreen.html
[10]: https://mermaidlive.com/play
[11]: https://github.com/mermaid-js/mermaid-live-editor/discussions/1291#discussioncomment-6837936 -
Generating and Viewing Mermaid Diagrams with Copilot
https://devblogs.microsoft.com/visualstudio/generating-and-viewing-mermaid-diagrams-with-copilot/
-
Hello.
I am looking for a (ideally #opensource) tool to create #agendas for my meetings.
The graphical representation of my agenda would be rendered from a text-based definition.
A bit like #Mermaidjs that has a generator for Ganntt charts, but the result would be an Agenda in the form of a calendar with blocks for elements of the meeting (Welcome, Presentation 1, Break, Presentation 2, Lunch break, etc...).
Do you know of such a tool ?
Reboots welcome 🙂