Description:
Export networks on the web with the OpenSeadragon dynamic exploration tool.
- When a graph is loaded, go to "File > Export > OpenSeadragon..." and get the HTML file with the OpenSeadragon widget ready to use.
- Zoom and pan into the graph
- OpenSeadragon is pure Javascript and works on all browsers
- As it uses image tiles (like Google Maps), there is no graph size limit
- Export is similar as PDF and includes all settings from Preview
- Official page https://github.com/gephi/gephi-plugins/tree/openseadragon-plugin
- OpenSeadragon examples https://openseadragon.github.io/
Author:
- totetmatt
Sources:
github.com/gephi/gephi-plugins/tree/seadragon-pluginLicense:
Compatible Gephi versions:
Tools > Pluginsmenu. The following download links may be useful to spread this plugin to people with no internet access, for instance.
README:
OpenSeadragon Plugin
This plugin export your graph as a Deepzoom image that can be read with https://openseadragon.github.io/
Quick Run
- Open Gephi, and make sure you installed the
OpenSeadragon Export
plugin. - Open the graph you want to render with the plugin.
- Do your layout and filtering on your graph until you're satisfied.
- Go to the
Preview panel
and select a preset on thePreview Settings
. The plugin will base the output on the style you selected. Have an overview by clickingRefresh
- When you're satisfied click on
File >> Export >> OpenSeadragon...
- Choose where to export the map and the configuration about the size and click
Ok
- The plugin should be processing now, the time will vary and can be long if you have a lot of entities and asking for big dimension.
- When finished, a message will tell you it has finished exporting your graph.
Because of security issue, you can't open the html as a normal file on you web browser to make it work. See the solutions bellow to make it works properly
How to run locally
One solution is to run a server locally. If you have Python installed on your machine, here is the easiest way to make it works :
- With a command line, go to the directory where you exported the graph (it should be a directory with a file called
index.html
) - Type the command
python -m http.server 8765
- Open your web browser and go to
http://localhost:8765
You should be able to open the web page and use OpenSeadragon plugin with your graph loaded.
How to share via a website
If you have a website, all you need to do is to copy the directory where you exported the graph via the plugin to your server. Then you should be able to access the page and the graph via your remote website.
Development
The plugin is split into 2 parts :
- The backend / java part which main purpose is to convert from Gephi the graph
- The frontend / Html part which is only
Frontend
The frontend part is a git submodule from another git repository currently here (https://github.com/totetmatt/gephi-openseadragon-plugin-frontend)
Which means any update for the frontend needs to be done on the git repository and then propagated on the plugin by updating the submodule with the command :
git submodule update --remote
TODO
- Better frontend management on code
- Write only map file option