Introduction
Export large networks to the browser, directly from Gephi.
Plugin Owner's Notes
Export networks on the web with the Seadragon dynamic exploration tool.
* When a graph is loaded, go to File > Export > Seadragon Web and get the HTML file ready to use
* Zoom and pan into the graph
* Seadragon is pure Javascript and works on all modern 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
Seadragon is a Microsoft Live Labs application and is released under Ms-PL license (Microsoft's open source license) . Kudos to them for this great library.
Example Sample with Diseasome Network dataset directly exported from Gephi How to use the Plugin
Install the plugin from Gephi, "Tools > Plugin" and find Seadragon Web Export. After restarting Gephi, the plugin is installed in the export menu. Load a sample network and try the plugin. Go to the Preview tab to configure the rendering settings like colors, labels and edges.
Export directly from Gephi Export menu
The settings asks for a valid directory where to export the files and the size of the canvas. Bigger is the canvas, more you can zoom in, but it takes longer time to generate and to load.
Export settings, configure the size of the image
Note that result on the local hard-drive can't be viewed with Chrome, due to a bug. Run Chrome with "--allow-file-access-from-files" option to make it work.



17 March 2011 at 2:09 pm | Permalink
Thank you very much for this plugin. It helps very much to share the network with others. Some people however were getting an error “It looks like security restrictions stopped us from loading…”. So I searched for a solution and the trick is to copy all the contents of the map.xml file (from the map folder) and paste it in the html file in the viewer.openDzi call after map.xml. By pasting the contents of the xml file, seadragon does not need to access the file of the hard-drive. This could fix Chrome error as well.
so the viewer.openDzi call would look like this
viewer.openDzi(“map/map.xml”,”);
17 March 2011 at 2:11 pm | Permalink
the comment system truncated the xml tags. let me try again.
viewer.openDzi(“map/map.xml”,”);
26 August 2011 at 9:32 pm | Permalink
Hi. Thanks for the plugin. But, the plugin always fail to export the graph, when I am using labels on the nodes. Why do you think this is happening?
Note: Gephi (0.8 alpha) always fails whenever I try to export a graph with node labels on. Even if its a pdf export, an seadragon export…
18 September 2011 at 10:32 pm | Permalink
Hitting the same issue.
10 October 2011 at 1:38 am | Permalink
I updated the plug-in to work with the 0.8 beta version of Gephi. The method to generate the Seadragon images has changed. We now use the embedded PNG exporter instead of the PDF renderer. That fixes the problem with edge thickness not rendered properly and dramatically increase performances.
The previous issue concerning labels was caused by Java 7 incompatibilities and has been fixed in this version. Thank you for report.
18 October 2011 at 9:02 am | Permalink
Hi,
I really like the option to export directly to a seadragon website. It is there any API I could use to include this in my own java project?
6 January 2012 at 10:42 pm | Permalink
What version of your plugin works with GEPHI 0.7 and 0.8
19 January 2012 at 6:30 pm | Permalink
Seadragon does not work with Gephi 0.8 beta for me. The progress bar shows in the bottom right corner of Gephi but nothing happens, even if I wait for hours.
What is the fix?
Thanks.
27 January 2012 at 8:02 pm | Permalink
I’m getting issues with the 0.8 toolkit and latest sea dragon code. When I run a simple export (But with PNG instead of PDF) I get an out of error exception. Any ideas what could be causing this?
1 March 2012 at 5:38 pm | Permalink
Same problem as Charles
Seadragon does not work with Gephi 0.8 beta for me. The progress bar shows in the bottom right corner of Gephi but nothing happens, even if I wait for hours.
I am on the mac.
13 March 2012 at 8:40 pm | Permalink
I;m having the same ish as Maysam and others. Looks like there could be something going on. It just hangs for me. Too bad!!
14 March 2012 at 3:41 pm | Permalink
Increase the amount of memory in Gephi or reduce the image size. If you’re trying to export a 8000*8000 pixels image you’ll need 8000*8000*32 = 2GB of memory at least.
See http://wiki.gephi.org/index.php/Troubleshooting#Memory_issues
27 April 2012 at 5:20 pm | Permalink
Hello Mathieu, i love your plugin, and works well when using both ubuntu and windows.
what i wanted to do was create a web api that automatically create an html file paired with a.gexf file so that the gephi file is viewable dynamically from a web page, There are a lot of web Gephi viewers that accept .gexf files and view it on their html file, however, the gexf files im working with are very large and do not open on these gephi viewers. Any recommendations? Thanks a lot.