d2-playground
d2
Our great sponsors
d2-playground | d2 | |
---|---|---|
23 | 92 | |
62 | 15,837 | |
- | 3.4% | |
6.5 | 9.8 | |
11 days ago | 11 days ago | |
JavaScript | Go | |
Mozilla Public License 2.0 | Mozilla Public License 2.0 |
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-playground
- D2 Playground
- How to draw beautiful software architecture diagrams
-
The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
https://play.d2lang.com/?script=qlDQtVOo5AIEAAD__w%3D%3D&ske...
I was going to ask why you don't have a web version but you already do. I'm going to play with this more today.
Have you thought about an "auto compile"/live mode where it changes as you edit the text? I think this adds a level of intuitiveness that would help new users explore.
- D2 Declarative Diagramming playground: Turn diagram scripting language to images
- I wrote a tool in Go to write Sequence Diagrams in Go
-
Animated diagrams with D2, a text-to-diagram language written in Go
Wow that's a very detailed catch, thanks for reporting! Made an issue: https://github.com/terrastruct/d2-playground/issues/33
-
Org Novelist: A system for writing novel-length fiction using Emacs Org mode.
A video can be a lot of work, it is quite challenging to produce a satisfying result. Instead, I suggest you to draw (here is a nice online tool to do that. If you prefer plain text, you can use d2) a Flowchart to represent your workflow. For someone who wants to understand a use case, it will be much quicker to look at a diagram rather than read or watch a video. And it will be easier for you to produce it.
-
Extension for creating beautiful software architecture diagrams with text
We'll have our own API available for you to do this too. So you can make something on playground (https://play.d2lang.com) and then render the same way. E.g. https://github.com/alixander/test-render/blob/main/README.md
-
Is TypeScript actually worth It?
if you're talking about the playground, I did the initial version in a weekend or so (https://github.com/terrastruct/d2-playground), which includes building a WASM version of D2 (written in Go), putting a text editor, some UI stuff like dropdowns/menu, hooking it up together, layouts and responsiveness whatnot.
If you're talking about D2 language itself, ~2 devs over 3/4 of a year.
-
Discord plugin for generating diagrams on the fly through text
You can give it a spin to see if it's a fit for you here: https://play.d2lang.com
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
-
Nomnoml
That site is created by the maintainers of D2[1], so it might be biased, but I still think D2 has the friendliest syntax of the bunch, including nomnoml.
[1]: https://d2lang.com/
- Software Architecture Tools
- D2: Declarative Diagramming
-
Architecture diagrams enable better conversations
I've been using https://structurizr.com/ to automatically generate C4 diagrams from a model (rather than drawing them by hand). It works well with the approach for written documentation as proposed in https://arc42.org/. It's very easy to embed a C4 diagram into a markdown document.
The result is a set of documents and diagrams under version control that can be rendered using the structurizr documentation server (for interactive diagrams and indexed search).
I also use https://d2lang.com/ for declarative diagrams in addition to C4, e.g., sequence diagrams and https://adr.github.io/ for architectural decision records. These are also well integrated into structurizr.
What are some alternatives?
text-to-diagram-site - Compare syntax, layouts, outputs between languages for generating diagrams with text.
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
d2-vscode - VSCode extension for D2 files.
C4-PlantUML - C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
d2-docs - Language documentation and blog for D2.
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
proposal-type-annotations - ECMAScript proposal for type syntax that is erased - Stage 1
Mermaid - Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.
ts-proto - An idiomatic protobuf generator for TypeScript
diagrams - :art: Diagram as Code for prototyping cloud system architectures
TDungeon - TDungeon is a small adventure game that runs in the Typescript type system
mermaid-cli - Command line tool for the Mermaid library