Today's #emacs learning is that I can generate ERDs with #mermaidjs inside #orgmode
Today's #emacs learning is that I can generate ERDs with #mermaidjs inside #orgmode
As a very visual person, I *really* like outputting mermaid diagrams to the console as a means of sanity checking the output or intermediate steps of my python code when processing/working with models & graph-related stuff. Then copy to mermaid\.live
LLMs these days can often help with a rough draft, but if you're not willing to dig in a bit to the mermaid syntax (which differs between diagram types and has some oddities) you're probably going to have a bad time.
I'm excited to be teaching my #DiagramsAsCode with #AI workshop live and in-person at #GOTO #Copenhagen!
Join me to: Gain a grounding in #PlantUML, #MermaidJS, and #Structurizr
Understand the tradeoffs of diagrams-as-code and models vs. standard diagrams
Recognise the limitations and useful use cases of using diagrams-as-code with LLMs
I'm happy to have helped contribute #mermaidjs support to @SwiftPackageIndex
Now we can display diagrams in our README using markdown
Thanks @daveverwer @finestructure
Check out my example here:
https://swiftpackageindex.com/brightdigit/Sublimation
Article update tonight; finally got to the bottom of my MDE Theme Switcher issues. Essentially mermaid.js ALWAYS reprocesses on Load unless you explicitly disable it. Now FULLY WORKING! (it worked previously with htmx:afterSwap but not on page load...took a WHILE and looking at mermaid.js source to figure it out!)
https://www.mostlylucid.net/blog/switchingthemesformermaid
#mermaidjs
Fourth post since I last slept (heading for bed now!)
This is just documenting an issue I had and how I solved it' I use Mermaid.js for Diagrams but it doesn't have built in support for Theme Switching. So I dug around, found one that almost worked and made it work:
https://www.mostlylucid.net/blog/switchingthemesformermaid
#markdown #mermaidjs
Mermaid diagram syntax is a low-key very useful skill to have as a software developer.
In order to understand #Islandora architecture diagram I had to make my own, and I would now like a #MermaidJS theme which displays items as if pinned to a corkboard wall, with red yarn connecting the nodes.
The proper diagram: https://islandora.github.io/documentation/technical-documentation/diagram/
Input welcome, trying to understand a complex system!
I'm still not out of the rabbit hole of searching for an #OpenSource #PersonalKnowledgeManagement software.
I'm gonna give a second try to @zettlr tomorrow! Their docs are *surprisingly* user-friendly and they claim to stick to the pure #CommonMark where probable. It's all the while being nice to researchers with citing, inline usage of #TeXLaTeX, #MermaidJS, and pop-over #footnotes. Provision of the simple #PDF export and #Pandoc customization are welcome, too!
But, to be fair, I may be overexaggerating how good #Zettlr is because of my recent disgust with #VendorLocking. In fact, almost anything that closely follows the common spec and is #FreeSoftware might suffice already. Having something as advanced and closer to the roots is certainly refreshing!
Am I the only one who finds #MermaidJS very powerful but the diagrams a bit ugly? Are there some examples of real pretty diagrams/ themes that people use? Any references/ sites?
Ref: #Structurizr pics are really pretty out of the box
Disclaimer: Mermaid Newbie
I'm beginning to like #Nextcloud #Collectives . At the same time, not having author colors (or other ways of coloring the text) is something I still miss.
Hope the markdown editor used grows a few more features!
(Including #mermaidjs, pretty please.)
Do I know anyone at #GitHub still who could update the #mermaidjs #mermaid asset, or - perhaps - introduce a
```mermaid_upstream
version that pulls the parser from, well, the upstream/community repo rather the outdated GH one? :)
It's so nice to see your open source code used in the wild.
I just realised there's actually people using my #mermaidJS plugin for #11ty!
https://github.com/KevinGimbel/eleventy-plugin-mermaid/network/dependents
@atmorojo Know you asked for #graphviz but have you tried #mermaidjs? Syntax is a bit more complex, but it does support entity relationship diagrams. https://mermaid.js.org/syntax/entityRelationshipDiagram.html
Like everyone else, I'm finding #chatgpt fascinating, but I also really like this boring use case (I could be biased due to my job )
Speaking of: did you know you can use #LaTeX and #mermaidjs syntax within #markdown on GitHub??