Live data from Hacker News

Graphviz in the browser

mdaines.github.io

71–74 of 74 posts

Re: Graphviz in the browser

#71
post #21

Nice to see Graphviz trending. I created http://agile.pics a couple years ago based on the .js graphviz library. The site is a thin wrapper that renders Graphviz of Sequence Diagrams from GitHub gists. Example: http://www.agile.pics/gist/163647fe40ae4911e469

> Nice to see Graphviz trending

agree completely; GraphViz is extraordinary.

for intance, Yifan hu (U Florida faculty, i think) maintains a spectacular gallery of very large graphs comprised of millions of nodes, all rendered using GraphViz (persisted and input to GraphViz as incidence matrices): http://yifanhu.net/GALLERY/GRAPHS/index2.html

The graphs in the gallery i liked to above were rendered using sfdp, one of the 5-6 layout engines in GraphViz, and which is the GraphViz engine of choice for very large undirected graphs not limited to a particular layout geometry

Re: Graphviz in the browser

#72
post #27

Phabricator had allowed for specifying dot notation in their markdown (remarkup) which would use graphviz to render the images in the comment. I loved this feature but it was removed due to potential exploits [0]. Is anyone familiar with how graphiviz-as-a-service could be possible while addressing these concerns? [0] https://hackerone.com/reports/88395 , https://secure.phabricator.com/T9408

As both a heavy phabricator user AND a graphviz lover, your comment got me quite excited....up until the part where it was removed :(

If you look through the task description on the phabricator task I linked, there is Paste file which has the contents of an extension to allow continued use of graphviz, however they state it's insecure and not supported.

Re: Graphviz in the browser

#74
post #70
post #55

Earlier quoted context omitted.

I still think dot could be reimplemented in d3. I agree dot is very expressive but it's starting to feel like TeX where it works great until you need to mix it into more recent applications.

dagre.js uses DOT. https://github.com/cpettitt/dagre-d3

it uses the dot language, but not graphviz's dot layout engine
Post reply on HN