Live data from Hacker News

Graphviz in the browser

mdaines.github.io

1–10 of 74 posts

Re: Graphviz in the browser

#3
Nice work!

I needed to use something to render directed graph in the browser and the biggest problem was the download size.

This library is 851KB gzip, which is way better than the 1.3MB I was using.

Maybe being able to bundle the engines (and output format) as separate modules could reduce its size?

So once again, great work!

Re: Graphviz in the browser

#5
post #3

Nice work! I needed to use something to render directed graph in the browser and the biggest problem was the download size. This library is 851KB gzip, which is way better than the 1.3MB I was using. Maybe being able to bundle the engines (and output format) as separate modules could reduce its size? So once again, great work!

I just implemented directed graphs with cytoscape.js and it was fairly straightforward.

Re: Graphviz in the browser

#7
post #4

Seems much like this: http://cpettitt.github.io/project/dagre-d3/latest/demo/inter... what are the differences?

So far it seems like dagre-d3 is the best option for those that want directed graphs to be automatically redrawn (with transitions) based off of user input. I'm continually looking for better options, though.

Re: Graphviz in the browser

#9
Does a dot->gis conversion exist? Would anyone aside from me want such a thing?

I'd like to render complex graphs with Mapnik, as I do for OSM (which is just a graph after all).

Post reply on HN