d2
diagrams
d2 | diagrams | |
---|---|---|
96 | 117 | |
18,209 | 39,889 | |
8.0% | - | |
9.5 | 8.4 | |
12 days ago | 2 days ago | |
Go | Python | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
d2
- D2: Declarative Diagramming – A modern language that turns text to diagrams
- Mermaid ASCII Diagrams
- D2: A New Diagram Scripting Language That Converts Text to Diagrams Instantly
-
Exploring Goja: A Golang JavaScript Runtime
I work on the D2 project ([0]) and we switched from other Javascript runners (v8go) to Goja. Using a JS runtime with a dependency on cgo means your Go program loses the (huge) benefit of cross-compiling to different architectures, since at build time it gets linked to the architecture-specific libc.
If you're interested in some production code with Goja, this is our code for calling RoughJS [1] from Go in order to produce the hand-drawn diagram look: [2]
[0] https://github.com/terrastruct/d2
- NMAP-formatter: convert NMAP results to HTML, CSV, JSON, graphviz (dot), SQLite
- Penrose – Penrose
-
Pikchr: A PIC-like markup language for diagrams in technical documentation
While not embedded in markdown, I like d2 [1]. I can use it with org-babel to embed and view the diagrams on emacs. After using graphviz for years, the visual output seems more polished to me. With that said, I want to give pikchr a try.
[1]:https://d2lang.com/
- Ask HN: How do you build diagrams for the web?
-
Documentation as Code for Cloud - C4 Model & Structurizr
In the next post I'll deep-dive into the D2 language which also has a huge set of features. Stay tuned.
- Inkscape Cloud Architect
diagrams
-
021期--社交媒体儿童禁令 & 打造个人ip - FAV0周刊#021
代码中的图表
-
Social Media Ban for Children & Building Your Personal Brand - FAV0 Weekly #021
Diagrams in Code
-
5 Interesting New Github Repos You Need to Explore
From on-premises nodes to SaaS solutions, Diagrams supports them all, making it perfect for prototyping or documenting your existing setup. Interested? Give it a try and don't forget to star the project if you find it useful!
-
Mermaid ASCII Diagrams
I use this for generating AWS deployment diagrams, which is kinda similar - https://github.com/mingrammer/diagrams
-
DAGitty – draw and analyze causal diagrams
I'm working on a python library for Vizdom, to be released later this year, but in the mean time, you can use this python library which uses Graphviz under the hood.
- https://diagrams.mingrammer.com/
-
Vizdom: Diagrams as Code
Also, if you're using python today, take a look at https://diagrams.mingrammer.com/
It's pretty good - uses Graphviz under the hood, but supports many cloud icons/logos. Not completely sure if it allows you to provide any icon, but it wouldn't surprise me.
-
Create Architecture Diagram as Code for a 2-Tier Bookstore Application
Python Diagrams
- Diagrams as Code
-
Mastering Matplotlib: A Step-by-Step Tutorial for Beginners
diagrams - Diagram as Code.
- How to draw beautiful software architecture diagrams
What are some alternatives?
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
c4-draw.io - Draw.io template/diagram containing C4 Model shapes. Drawio Diagrams.net
C4-PlantUML - C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
Graphviz - Simple Python interface for Graphviz
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
obsidian-excalidraw-plugin - A plugin to edit and view Excalidraw drawings in Obsidian
Mermaid - Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.
pygraphviz - Python interface to Graphviz graph drawing package
plantuml - Generate diagrams from textual description
excalidraw - Virtual whiteboard for sketching hand-drawn like diagrams
mermaid-cli - Command line tool for the Mermaid library
vscode-drawio - This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.