Graphviz is another "heart bleed" / "log4j" / ... Because a lot of big companies use it (and they spend 0 €/$/... in the project), and it is broken from several years...
Graphviz: Open-source graph visualization software
31–40 of 156 posts
Re: Graphviz: Open-source graph visualization software
#32They're really compelling but oddly unpopular.
Imo, they're useful for one-off pattern discovery, and they're most valuable for finding single or a few exceptions and outliers in normalized data, and you need to be in an environment where there are asymmetric returns on finding those. Surveillance seems to be their default use case, with open ended scientific research a close second. This comes up with graph based recommendation engines, which are essentially a surveillance/marketing product based on preferences. Most businesses aren't based on discovery of anything other than customers for a transaction they already have.
These aren't problems engineers typically solve, which are more about scaling and optimizing, they're more marketing and sales problems, where you're looking for exceptions and opportunities. (security and privacy are the complementary antithesis of these) A graph based product (imo) is ideal for product marketing analysts optimizing for customer preferences and discovery.
From a product perspective, graphs are analogous to ML, where you'd use a clustering algorithm on loosely structured data to yield categories, comparisons, and implied relationships, whereas a graph yields the same thing over the structured normalized data you can feed into it once you have imagined an ontology to fit it.
Re: Graphviz: Open-source graph visualization software
#33I use graphviz to get a quick postgresql schema overview (good for small to medium databases) https://github.com/enter-haken/schema
Re: Graphviz: Open-source graph visualization software
#34Re: Graphviz: Open-source graph visualization software
#35Re: Graphviz: Open-source graph visualization software
#36Re: Graphviz: Open-source graph visualization software
#37I use graphviz to get a quick postgresql schema overview (good for small to medium databases) https://github.com/enter-haken/schema
That looks really cool. Would you possibly share the script?
https://github.com/enter-haken/schema/blob/master/schema.sh
It's a mixture of sed, awk and sql.
Re: Graphviz: Open-source graph visualization software
#38https://plantuml.com graphs look much better
Re: Graphviz: Open-source graph visualization software
#39Graphviz is an amazing tool, it has just suffered from being cloistered to technologists whose jobs aren't to solve the kinds of problems it is specifically adapted for. I use graphs in security and privacy quite a bit, and even built the tech for a hopeful security platform using a graph back end. They yield the fastest path through complex problems, and I use them to do in a couple of hours what typically would tak…
Did I understand it correctly that you use it to discover patterns? Are these patterns discovered by just using the layout engines? Arent' other tools, e.g. networkx in Python or cytoscape in javascript easier to use interactively in a REPL? What is the typical workflow (maybe plot, find interesting pattern, change query/data in a loop)?
I'm really interested in how Graphviz can be so great. I am currently working with the other mentioned tools for visualization purposes.
Re: Graphviz: Open-source graph visualization software
#40The most complex thing I've done with it [1]: a tool (MIT-license) that builds diagrams of the data and addressing pipeline for a DSP processor, and lets one 'scrub through' the assembler code frame by frame and see the values propagate through the blocks.
Also PlantUML [2] uses it for most diagrams.
Getting layout and positioning the way you want can be tricky but is usually achievable with patience and hidden objects.
[1] https://github.com/paphillips/DFB [2] https://plantuml.com/graphviz-dot