-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphviz DOT syntax #5
Comments
I was striving for simplicity and was prepared to sacrifice some functionality to achieve that. DOT is great and very versatile but I wanted something you can grasp without much explanations. Perhaps you can see mermaid syntax vs DOT as markdown vs HTML/CSS. That was the original intention anyway. :) |
Basic DOT is highly readable though. Personally, I'd prefer a subset of DOT over an "entirely new" language. That's not to say that I don't appreciate your effort, of course. |
Yeah, I agree with timdp. I think forking the DOT language is actively harmful. It's a very simple language, unlike HTML, and the changes you've made don't really simplify it, they just change it. I'd focus on making a good renderer, but stick to DOT syntax. |
I have to agree. I just learned about mermaid and my first thought was "this looks a lot like Dot". Mermaid looks really nice and it allow inline processing, which is awesome for web-based applications. But having a Dot-compatible language would make it possible to easily acquire thousands of users and tools that know and generate Dot. |
Mermaid will have different graph types with different grammars. One example is sequence diagrams. On that note there will be an architecture permitting this. In that light it would be "inline" with the concept to have a dot grammar using the same rendered as the current flow chart renderer. Will provide stubs for the grammar as alpha and lets see where it goes. |
Look at the experimental support. See it as a proof of concept/prototype. |
I concur with the above comment, Mermaid is very similar in concept to graphviz (an AT&T project which was the originator of DOT). This happens a lot is the JS world q.v. the proliferation of JS build systems that do not learn from the mistakes of the past and offer a meagre portion of the functionality of Make. "Although in Science they have seen further by standing on the shoulders of giants; in computing, we mostly stand on each other's feet." -- Richard Wesley Hamming |
Graphviz/Viz.js fit the niche quite easily. There is nothing in this project that would constitute an improvement over Graphviz and its descendants. |
👍 for incorporating DOT syntax, there seems no reasonable excuse not to. As @sleepyfox noted, let's stand on shoulders not on feet. |
👍 for DOT support. Even if this is an add-on. Seems like there's some similarities with the relationship notation you've done for mermaid. Though I agree with the sentiment of most of these comments, I still think there's room for a new (more web-centric?) approach to making these kind of graph notations clear, useful, and interconnected with more data. |
Close it. Since it is a question and there hasn't been active activity here for almost 3 years. |
Naive question as I'm just discovered the project but mermaid depends on |
Bumps [d3](https://github.com/d3/d3) from 5.16.0 to 7.0.0. - [Release notes](https://github.com/d3/d3/releases) - [Changelog](https://github.com/d3/d3/blob/main/CHANGES.md) - [Commits](d3/d3@v5.16.0...v7.0.0) --- updated-dependencies: - dependency-name: d3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
add overflow-x: auto to view container
FWIW I'm unable to confirm if this quote was actually said by him. Nevertheless he did say this:
|
Anyway, I wonder why there isn't a tool to convert mermaid and dot formats online? |
There's at least one: https://kroki.io/ |
I mean there's github. 👍🏻 |
It looks like Mermaid is in many ways similar to Graphviz's DOT language. I just came across Viz.js, which attempts to bring that to the Web. Any reason you're not adopting DOT syntax? It seems like it would be more useful to collaborate on this.
The text was updated successfully, but these errors were encountered: