G. Export visualizations as static images

  1. At this point, now that we have adjusted the appearance, we might want to export our visualization. The little camera icon at the bottom left of the main graph pane takes a snapshot of your graph as a PNG image file. Before clicking on it, select its drop-down menu and click on Configure.

    Screenshot drop-down menu at the bottom of the Gephi graph pane open, with 'Configure' selected and highlighted.

    If you keep the defaults and then use the snapshot tool, you will get a low-resolution image; however, if instead you change the image size to 3000 by 2000 for example, and for the Antialiasing, try the maximum of 16x, the resulting snapshot will be a much higher resolution. Change those settings, click OK, and then click on the snapshot tool to take the image.

    Screenshot settings with 'Width' set to 3000, 'Height' set to 2000, and 'Antialiasing' set to 16x, all highlighted.

  2. If you want a higher quality image to export, you might need to use the Preview tab. Click on the Preview tab.

    The 'Preview' button underneath Gephi's top menu highlighted.

    Depending on the plugins you have installed, Gephi may default to showing one of the plugins’ panes as opposed to the “Preview Settings” pane. If Gephi defaults to another pane when you first click on the Preview tab, click on “Preview Settings”.

    On the left pane, the 'Preview Settings' tab opened and highlighted.

  3. Click on the Refresh button at the bottom left to show the graph.

    Below the 'Preview Settings' pane, 'Refresh' highlighted.

    Here you might be surprised to notice that it does not look exactly like the graph you created in the Overview tab.

    The nodes and edges displayed in the 'Preview' pane.

    You will have to use the options available on the left of this tab to prepare your visualization again for export.

  4. First, we have lost our node labels. Under Node Labels on the left, select Show Labels and for the Font, select Arial, bold, size 3.

    Under 'Node Labels' in 'Preview Settings', show labels selected and font settings opened, both highlighted. In font settings, 'Arial', 'Bold', and '3' selected and highlighted.

    Click on the Refresh button again to see the changes.

    Below the 'Preview Settings' pane, 'Refresh' highlighted.

  5. Next, let’s work on the edges, as they have lost their colours. Under Edges on the left, select Color, click on the … button, select Original and then click on OK.

    Under 'Edge' in 'Preview Settings', Colour settings opened. Edge Color set to 'Original'.

    Click on the Refresh button again to see the changes.

    Below the 'Preview Settings' pane, 'Refresh' highlighted.

  6. As you can see there are many other options to try and experiment with to format the visualization.

    All the options in 'Preview Settings highlighted.

  7. When you are happy with it, click on SVG/PDF/PNG at the bottom next to Export. Let’s export it as a PDF file. Select your desired folder location and give the file a name.

    Below the 'Preview Settings' pane, 'Export' highlighted. In the Export window, save the save location, file name, and file type fields are all highlighted

    Click on Options… Select Letter for the Page Size and make all the Margins 1 (to try to avoid labels being cut off at the edges, although you may need to play around with these settings, depending on your layout). Click on OK and then click on Save.

    In the export window, 'Options...' is opened and selected. In the 'Options PDF' window, page size is set to letter, and all margins are set to 1.

  8. You should now have a PDF of your graph. When you open up the file, you will notice that there is no legend included. You would need to use a tool, such as Adobe Illustrator or Inkscape to add a legend to your graph.

Technique: Data Visualization | Tools: Gephi


First created: September 13, 2021
Last updated: May 08, 2026

Tutorial maintained by Kelly Schultz.

Tutorial created by Kelly Schultz.

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International icon