Live data from Hacker News

Graphviz 7

gitlab.com

41–50 of 95 posts

Re: Graphviz 7

#41
post #15

This is more for diagramming small graphs. If you are trying to render large networks, there are better alternatives. For OSS graph visualization libraries, check out: - Sigma.js - Vis.js For commercial options: - Ogma (disclosure: my company builds that one) - KeyLines

Are Sigma and Vis widely-usable (i.e. have C bindings), or only for browsers/JS enginers?

Re: Graphviz 7

#42

Earlier quoted context omitted.

I’ve personally settled on grapviz (a derivative actually, plantuml) being “good enough” for casual diagrams. Plantuml is built with the idea that it’s for quick and dirty communication, and I think graphviz translates well to this. It’s a nice way to put together a sequence diagram that just helps you understand control flow (and then never took at it again). I have to admit, I haven’t found a more formal programmat…

For mermaid, would pairing it with selenium and/or a headless browser be an option?

Not sure if this question is directed at me. My understanding is that mermaid is relatively similar to plantuml in that it doesn't give you 100% control over layout and diagram features.

What plantuml lacks (maybe mermaid less so) could really only be improved upon by working with raw svg I think. There is a LaTex package tikz that offer much more flexibility than plantuml/mermaid, but you still run into limitations in that diagram features are predefined.

Re: Graphviz 7

#43

One of the better graph visualization tools! Which tool do you people use most often for graph visualization? I kind of linger between networkx, Gephi, graphviz and d3.

I really struggle with this. I also use networkx, Gephi, and graphviz, and occasionally plotly. D3 is too much of a learning overhead for me at the moment. I'm really in the market for a decent engine that's both easy to use and enables high quality interactive exploration of massive datasets. Plotly comes close, but struggles with larger datasets and is still a bit fiddly. I'd love to be able to lob a large structur…

That's why we built Graphistry :)

Can be used code-free (drop in a csv or log file) or via analysis workflows like from Jupyter notebooks and internal dashboards.

We are roughly parity for Gephi's features, and pushing (far) ahead on web, GPU, perf, ai, automation, etc. Always curious about gaps - our Slack is a good place to chat on that.

Re: Graphviz 7

#44

Earlier quoted context omitted.

For mermaid, would pairing it with selenium and/or a headless browser be an option?

Not sure if this question is directed at me. My understanding is that mermaid is relatively similar to plantuml in that it doesn't give you 100% control over layout and diagram features. What plantuml lacks (maybe mermaid less so) could really only be improved upon by working with raw svg I think. There is a LaTex package tikz that offer much more flexibility than plantuml/mermaid, but you still run into limitations…

Ah thanks for your answer comfypotato, Tikz looks even better then Graphviz. No, I misplaced my remark in the thread and directed at rcarmo just one level above who would have switched to mermaid if it didn't need a browser (or perhaps just node.js). Tikz also needs a LaTex dependency, with gigabytes of diskpace I'm personally not that frugal anymore with tooling size even though I like using as little disk space as possible. Perhaps rcarmo reads the thread further, perhaps not.

Re: Graphviz 7

#45
post #15

This is more for diagramming small graphs. If you are trying to render large networks, there are better alternatives. For OSS graph visualization libraries, check out: - Sigma.js - Vis.js For commercial options: - Ogma (disclosure: my company builds that one) - KeyLines

+1 for Vis.js

I've used it to map wireless trading networks with lots of connections.

The fact that you can make the nodes clickable to other webpages etc is a great feature for building "drill down" views.

Re: Graphviz 7

#46
post #34

I love GraphViz. Many are saying the layout isn't that great and there are better options, etc. etc. and I have no doubt that for some use cases, that might be true. However, GraphViz "just works" for me. Every time I build a tree-like structure, I simply open up a new .gv file and just start typing nodes connected with an arrow ("->"). I can do this without taking ANY extra time - I just type it in as I'm developing…

Shouldn't the extension be .dot?

Re: Graphviz 7

#47
post #34

I love GraphViz. Many are saying the layout isn't that great and there are better options, etc. etc. and I have no doubt that for some use cases, that might be true. However, GraphViz "just works" for me. Every time I build a tree-like structure, I simply open up a new .gv file and just start typing nodes connected with an arrow ("->"). I can do this without taking ANY extra time - I just type it in as I'm developing…

Shouldn't the extension be .dot?

.gz is already used by gzip[1]. This wiki[2] says it is .gv . I've always used .dot so I don't know what to use anymore.

edit: according to this[3] discussion , Microsoft uses .dot. I then found this wiki[4] page that supports the claim. dot is used by Microsoft Word document template files. I will switch to .gv

[1] https://en.wikipedia.org/wiki/Gzip

[2] https://en.wikipedia.org/wiki/DOT_(graph_description_languag...

[3] https://forum.graphviz.org/t/what-is-the-file-extension-for-...

[4] https://en.wikipedia.org/wiki/List_of_filename_extensions_(A... [4]

Re: Graphviz 7

#48
Does anyone know of any DOT -> mermaidjs format converters? I was looking for one recently and was surprised not to find anything more robust than someone's quick search and replace script.

Re: Graphviz 7

#49

I use Graphviz dot syntax to configure entire cloud computing environments in the order they must be built. This is pipelines as code and infrastructure as code It's very powerful! Not every organisation can bring up an entire environment with one command of documentation their infrastructure with Graphviz. Here is a executable diagram of a build worker cloud nodes, Kubernetes, consul, vault, Debian package server, J…

I am big on state machines. Even simple tooling around them makes life easier for a lot of tasks. We often poorly implement a state machine in our code. Formalizing it in some way often makes life easier for me.

Re: Graphviz 7

#50
post #34

I love GraphViz. Many are saying the layout isn't that great and there are better options, etc. etc. and I have no doubt that for some use cases, that might be true. However, GraphViz "just works" for me. Every time I build a tree-like structure, I simply open up a new .gv file and just start typing nodes connected with an arrow ("->"). I can do this without taking ANY extra time - I just type it in as I'm developing…

Shouldn't the extension be .dot?

Typo: meant .gv (edited above)
Post reply on HN