tfiers / PkgGraph.jl

Visualize the dependency graph of a Julia package
https://tfiers.github.io/PkgGraph.jl
MIT License
43 stars 2 forks source link

Blink app (live GUI :) #69

Open tfiers opened 1 year ago

tfiers commented 1 year ago

A generalisation of

We can still use the html with js in it to hide nodes; but now that we have a live REPL connection, we can actually recompute too :) (maybe even with transition (position interpolation) between old and new node positions, as magjac does?)

(i.e: difference between 'just hide' and remove from graph)

tfiers commented 1 year ago

Blink is nice cause in my test: surprisingly light and fast. Plus no GTK cross platform issues (see e.g.

) It's an https://www.electronjs.org wrapper. API for Julia<>Javascript comm seems nice enough

tfiers commented 1 year ago

Yes, def the animation: this is very sexy: magjac example graph (try adding and removing some edges) "graph tweening", "transitions"

tfiers commented 1 year ago

An Electron app (programmable web display) is also just useful because the default svg viewer (Firefox/Chrome) sucks. So: panning and zooming of svg :)

(Don't need live app for that tbf, could also be html gen) But yeah, that's closely tied with this: can just 'export' the html (+css+js) used in the blink window. React, probably, right