Best way to serve GraphPlot.jl plots on a web app

Hi,

I am struggling to find support for serving GraphPlot.jl plots across the internet. Genie only seems to support Plotly which does not have a nice way (that I can find) of plotting network graphs from Graphs.jl. I have also tried interact but I have hit a WebIO not detected issue when trying to serve this using port forwarding on an apache web server. Any suggestions of other avenues to explore would be much appreciated?

Does this need to involve real time calculations or can it be a pregenerated static snapshot of the data?

Real time calculations. I want to have sliders and dropdowns to specify the graphs and then also do some calculations to produce the labels for the graphs.

Sliders and drop downs often have a finite number of options. You could precompute all the permutations and then have the site be completely static.

For example, GitHub - JuliaPluto/PlutoSliderServer.jl: Web server to run just the `@bind` parts of a Pluto.jl notebook or GitHub - rikhuijzer/PlutoStaticHTML.jl: Convert Pluto notebooks to HTML in automated workflows take this approach.

You can see an example of this at Principal Component Analysis โ€” Interactive Computational Thinking โ€” MIT .

Perhaps the other question is how often does the underlying data change?

If you do need compute and are willing to pay for it, you can take a look at https://cloud.jolin.io/ .

Another, future way in development is WebAssemblyCompiler.jl:

1 Like

Thank you, that is a very smart suggestion. I will give that a go. It would be very nice to make it a completely static site.