d2-docs
text-to-diagram-site
d2-docs | text-to-diagram-site | |
---|---|---|
2 | 27 | |
253 | 385 | |
2.0% | 6.0% | |
8.2 | 6.5 | |
11 days ago | 7 months ago | |
D2 | TypeScript | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
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-docs
- Animated diagrams with D2, a text-to-diagram language written in Go
-
D2 language, open source alternative to PlantUML
You're right, d2-docs will be changed to render all diagrams with Dagre or ELK instead.
The docs existed before D2 was open source and we had open source layout options. Sorry about that.
https://github.com/terrastruct/d2-docs/issues/43
> By the way I've just realised why your github repo does not provide the sources of the diagrams in docs - it would blow your game wide open, once users start asking why they aren't getting the results depicted. And almost no compileable examples, either
Not sure what you mean no compilable examples. Full source of the docs is at https://github.com/terrastruct/d2-docs including all the examples. The first example in the Github repo also had a line "Rendered with the TALA layout engine" so the source was upfront.
> Will you please stop lying? I am not "mad" because something isn't free, but because you're misrepresenting the nature of your D2 language. It is not something that you're making available to benefit community, but a thinly disguised marketing ploy.
We're running a company, we're absolutely interested in making money.
But open sourcing D2 doesn't just help us with user acquisition, it certainly also helps the community in adding another open source alternative in the text to diagram market. And it's good quality code. If we go under, someone else can pickup the torch and fork D2.
And it's incorrect to say that the free engines are not as good. They absolutely are suitable alternatives and do beat TALA in many instances. It's not in our interest to hide the best parts of D2, or else no one would use it. I'd even go as far to say TALA will never be as good as them in many instances, especially when the structure is hierarchical. But that's ok, they all use different algorithms and that's what makes them good in different instances. TALA is specifically for software diagrams, in instances such as if you have many nested containers.
If you can quote a specific piece of text on our GitHub or website, we will change it to make it more clear that D2 is fully open source and TALA is just an optional optimization.
text-to-diagram-site
-
Ask HN: Guidelines for making clear architecture diagrams
As far as guidelines, I have spent time looking as well an never came away with a good answer. One useful website for comparing some of the best tools is https://text-to-diagram.com/. My personal favorite is D2. Still lacking a few layout features that I want, but it gets me 90% of the way there. The syntax is great for projects big to small, and it strikes the perfect balance between "create a diagram fast" and "feature rich". But in terms of actual guidelines, I would agree with another user that C4 actually tries to lay out some sort of guidelines.
-
Nomnoml
One of those "text to diagram" contenders did a comparison website (open source) a while back: https://text-to-diagram.com/ (nomnoml isn't in there).
-
Documentation as Code for Cloud Using PlantUML
Community list of comparisons between Text to Diagram tools: https://text-to-diagram.com/
-
The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
https://text-to-diagram.com/?example=sequence&b=mermaid
-
Is there a tool to visualize related stories, tasks, bugs, etc?
If you can get enough data out of the ticket system, maybe something like https://text-to-diagram.com/ will help.
-
D2 (text-to-diagram language): Introducing Grid diagrams
We made a site to let people compare: https://text-to-diagram.com . (Mermaid maintainers contribute to it)
-
Mermaid Cheat Sheet
I think Mermaid is better than PlantUML to write something quickly.
But D2 looks very promising. I like the simpler and more intuitive syntax.
https://text-to-diagram.com/
-
The truth is, being a sysadmin can be a thankless job. What is something that you have done that your are proud of? AKA Toot your own horn Tuesday.
have you seen https://text-to-diagram.com/ for comparing these flowcharts including mermaidJS and graphwiz as you mentioned and there are a few more there.
-
Generate diagrams programmatically with D2
Yes, it's a limited generator, because it's like 20 lines long and not the point of the article.
If you want to compare Mermaid against D2, take a look at https://text-to-diagram.com. The maintainers of Mermaid have contributed to it.
-
D2: Free, open-source modern language for turning text to diagrams
For a comparison with other popular text-to-diagram tools: https://text-to-diagram.com (the maintainers of Mermaid have contributed to this).
What are some alternatives?
TALA - A diagram layout engine designed specifically for software architecture diagrams
d2 - D2 is a modern diagram scripting language that turns text to diagrams.
d2-playground - An online runner to play, learn, and create with D2, the modern diagram scripting language that turns text to diagrams.
d2-mode - emacs major mode for d2 graphs
mermaid-cli - Command line tool for the Mermaid library
mdbook-d2 - D2 diagram generator plugin for MdBook
d2-vscode - VSCode extension for D2 files.
obsidian-graphviz - Graphviz plugin for obsidian md.
C4-PlantUML - C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
OpenDiablo2 - An implementation of Diablo 2 in AbyssEngine.