News for hackers. Stuff that matters.
Re:Sketchviz – Graphviz graphs in a hand-drawn style by cldellow on Tuesday November 12, 2019 @06:50PM (#21519535)
Hey, that's me, actually. Thanks for calling it pretty neat!

As I mention on the about page, this is really just stringing a bunch of existing tools together, so most of the credit goes to those folks:

- the Graphviz contributors for creating everyone's favourite 1990s-era graphing tool

- Mike Daines for viz.js, which uses Emscripten to compile Graphviz to JavaScript

- Preet Shihn, for RoughJS, which has the algorithms to transform shapes into scruffier shapes

- GitHub user @ismay, who made a wrapper for RoughJS to make operating on SVGs, which Graphviz can emit as output, braindead simple

I just duct-taped things together and did some of the tedious fit-and-finish stuff. For example, ensuring fonts render consistently regardless of whether you were previewing in the editor, downloading the PNG (which generates locally for speed) or embedding the graph on another website (which generates in an AWS Lambda using a headless Chrome to render it).

Re:Sketchviz – Graphviz graphs in a hand-drawn style by bruth on Tuesday November 12, 2019 @09:23PM (#21520644)
> this is really just stringing a bunch of existing tools together

This is essentially what all developers do to varying degrees. The whole is greater than the sum of its parts!

Re:Sketchviz – Graphviz graphs in a hand-drawn style by ngcc_hk on Tuesday November 12, 2019 @10:01PM (#21520837)
Yes. Great work. That is one of my favourite tools.
Re:Sketchviz – Graphviz graphs in a hand-drawn style by tasogare on Tuesday November 12, 2019 @10:32PM (#21520965)
Nice. Is there a library and/or command line tool?
Re:Sketchviz – Graphviz graphs in a hand-drawn style by davidgerard on Wednesday November 13, 2019 @03:02AM (#21521949)
this is just awesome. I suppose it'd be hard to add it to the graphviz binaries.