home.social

#mermaidjs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mermaidjs, aggregated by home.social.

fetched live
  1. 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.

    github.com/Latias94/merman

    #Rust #MermaidJS

  2. - @wallabag user?
    - :apple_inc: user?
    - and/or enthusiast?

    Bingo? You’re in for a treat! Check the latest beta for the new rich content renderer supporting code highlighting, math annotations and mermaid graph.

    testflight.apple.com/join/nYnb

  3. Naty S @eclecticpassions ·

    I use 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.

    <github.com/mermaid-js/mermaid/>

    I always try to serve resources locally, but there are lots of chunk files? I'm not familiar with and

    it is for now. 🤔

  4. 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!

    #selfHosting #homeLab #nextcloud #mermaidjs

  5. Using for some diagrams is proving more difficult than I expected.

  6. 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
    github.com/scottgal/lucidview/
    #csharp #dotnet #mermaidjs #markdown

  7. 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

  8. Naty S @eclecticpassions ·

    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!

    github.com/dartungar/obsidian-

    It'll be very handy for making notes about my Indiekit set up and workflow charts. 🔲→🔲

  9. 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: notepad.onghu.com/2024/making-

  10. Naty S @eclecticpassions ·

    New on ✍️

    ➡️ burgeonlab.com/blog/generate-d

    I wrote a guide on how to locally generate images using just code and scripts. I explore D2 which is a bit like and used to combine image processing like and .

    play.d2lang.com/

    If you give it a try, please let me know. I'm curious with what you come up with!

  11. 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. mostlylucid.net/blog/enhancing
    #mermaidjs #javascript #markdown

  12. 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. mermaid.js.org
    2. docs.github.com/en/get-started

    #MermaidJS #Cursor

  13. Ich weiss nie, ob ich #Mermaidjs hassen oder lieben soll. Aber die Integration ins #GitLab Kommentarsystem ist praktisch.

    /me baut sich Flowcharts

  14. 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: notepad.onghu.com/2024/making-

    (I'm reminded I need to work on Part 2)

    #Diagramming #Programming

  15. 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.

  16. 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

    @ioer

    [1]: gitlab.vgiscience.de/caserepor
    [2]: docs.casereports.fdz.ioer.info/
    [3]: lbsn.vgiscience.org
    [4]: docs.casereports.fdz.ioer.info
    [5]: gitlab.vgiscience.de/caserepor
    [6]: gitlab.vgiscience.de/caserepor
    [7]: gitlab.vgiscience.de/caserepor
    [8]: docs.casereports.fdz.ioer.info
    [9]: docs.casereports.fdz.ioer.info
    [10]: mermaidlive.com/play
    [11]: github.com/mermaid-js/mermaid-

  17. 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 🙂