Re:Sketchviz – Graphviz graphs in a hand-drawn style
by suyash on Tuesday November 12, 2019 @06:56PM
(#21519579)
Nice idea, however it would be lot easier and faster for my to draw the digram than it would take to write the code in strange language.
[ Parent
| on HN ]
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by mcqueenjordan on Tuesday November 12, 2019 @07:48PM
(#21519999)
Others have mentioned generation and speed, but there's a much more important piece, IMO:
Maintainability. With declarative text-based diagramming, you can check these in as text files, and when the system evolves or the diagram has a need to change, it's easy to make a change and re-generate the image.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by Fellshard on Tuesday November 12, 2019 @08:50PM
(#21520434)
This. With the right tooling, you can embed diagrams as part of a larger document using a code block, which can be tuned and maintained as the system it's describing changes.
Once you learn the rules for the type of diagram you're making, it's much simpler than opening up <diagram tool of choice> and trying to shuffle the pieces around to make room for the change, or re-sketching the whole diagram from scratch on a piece of paper.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by shantly on Tuesday November 12, 2019 @08:50PM
(#21520431)
You’re catching shit in part because the “strange language” is a kind of standard tool in its niche (automatic graph layouts & drawing). It’s called “DOT” and may be regarded as venerable, if a touch obscure.
See:
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by tptacek on Tuesday November 12, 2019 @07:25PM
(#21519815)
People who use Graphviz tend to know the basic Graphviz language, but, probably more importantly, it's easy for tools to generate it.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by recursivecaveat on Tuesday November 12, 2019 @09:06PM
(#21520550)
Absolutely this. If I'm making a diagram for a presentation I'm going to draw it manually so it looks just right. When we're debugging dataflow graphs with 4000 nodes, graphviz is the one and only.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by graphviz on Tuesday November 12, 2019 @09:34PM
(#21520702)
Thanks! A lot of the good stuff (e.g. stress majorization and the Jaccard distance model stolen for neato -Gmodel=subset) was done in the 2000s. Probably people criticize because they see B&W graphics, Times-Roman and splines rendered 1pt wide and we didn't use XML or JSON.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by klmr on Wednesday November 13, 2019 @05:53AM
(#21522784)
Drawing a single diagram will be faster, true. But adding even a single new node which requires re-layouting the whole thing to make space would require you to redraw the whole diagram, whereas in Graphviz/DOT it’s literally just adding one line of code.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by davidgerard on Wednesday November 13, 2019 @03:00AM
(#21521938)
I literally started using GraphViz last Friday, and I'm never giving it up now. My handwriting looks like I've spent the last twenty-five years typing. GraphViz gives me maintainable and updatable diagrams. I just installed the MediaWiki extension on our internal tech wiki.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by wedn3sday on Tuesday November 12, 2019 @07:54PM
(#21520046)
Not if you're trying to use it in a slide show, or share it with other people over email. I work in a high security environment, so even if I could draw it better/faster by hand, I cant pull out my phone and take a picture.
Re:Sketchviz – Graphviz graphs in a hand-drawn style
by jessaustin on Tuesday November 12, 2019 @07:41PM
(#21519947)
You might be wrong about this; you should try graphviz to find out.