SlideShare une entreprise Scribd logo
1  sur  4
Télécharger pour lire hors ligne
COMM 645 HANDOUT – GEPHI BASICS
Gephi Resources:
•
•
•
•
•
•

Gephi: The Open Graph Viz Platform. Download from www.gephi.org
Gephi Quick Start Tutorial: www.gephi.org/users/quick-start
Gephi Visualization Tutorial: www.gephi.org/users/tutorial-visualization
Gephi Layouts Tutorial: www.gephi.org/users/tutorial-layouts
Gephi Wiki: wiki.gephi.org
Gephi Community Portal: wiki.gephi.org/index.php/Community_portal

Data Formats
Gephi's own files have an extension .gephi.
The software can read many other file formats, including GEXF, GDF, GML, GraphML, Pajek NET files,
and UCINET DL files. You can open any of those by simply going to File -> Open.
Gephi can also read Excel and CSV files. To import data from CSV, you will usually need to prepare two
files – one containing nodes and their attributes, and another containing an edge list and edge attributes
(see the example CSV files used in the class demonstration for Lab 9).
The CSV file containing nodes needs to include a column named "ID" containing - as you might have
guessed – unique node IDs. The edge list CSV should include columns titled "Source" and "Target",
containing node IDs of the start and end node for each edge. In addition, you can include a column
called "Type" indicating the type of each edge ("Undirected" or "Directed").
To import the files, go to the Data Laboratory tab -> Import Spreadsheet button (3 on Fig.3). Select your
file, make sure to select the appropriate table type from the "As Table:" drop-down menu (i.e. Nodes
Table or Edges Table). Import both files, preferably starting with the node table.
Click "Next" and make sure that each column of your data is assigned an appropriate format (e.g. you
can import text fields as "String", categorical numerical data as "Integer", continuous attributes as
"Float", time interval variables for dynamic networks as "TimeInterval", etc.). Click "Finish".
Major sections within Gephi:
•
•
•

Overview Tab:
Data Laboratory Tab:
Preview Tab:

Calculate network measures & set up the network visualization.
Examine and edit the network data (node & edge tables).
Configure the rendering settings (colors, sizes, line width, opacity, etc.)
and preview the visualization.

Download more network handouts at www.kateto.net / www.ognyanova.net

1
Figure 1: The Gephi interface: Overview tab

1

2

7a

8

4
3

7b
5

6
Fig.1 → 1, Partition Tab: Change node/edge color based on a categorical attribute (select the Nodes or
Edges tab, select the attribute from the drop-down Type menu).
Fig.1 → 2, Ranking Tab: Change the color or size of a node/edge/label based on a continuous attribute
(You can select which visual property to change using the buttons in the top right corner of the tab).
Fig.1 → 3, Layout Tab: Select and customize one of the available layout algorithms.
Fig.1 → 4: Interactive selection of nodes/edges; change size/color manually; add nodes/edges, etc.
Fig.1 → 5: Reset the node size, color, label, or label size.
Fig.1 → 6: Change color, size and other characteristics applying to all nodes, edges, and labels.
Fig.1 → 7a, Filters Tab: Apply filters to select specific nodes and/or edges from your network. The filters
are applied through dragging and dropping onto Fig.3 → 7b: Queries.
The filters based on attributes include "Equal" (select elements with particular attribute values),
"Partition"(select different levels of categorical attributes), "Range" (select nodes/edges with attribute
values in a particular range – for instance out-degree between 1 and 4), Inter-edges (select edges with
particular attributes – for one-mode networks), Intra-edges (select edges with particular attributes,
going across the modes of multimode networks), and so on.

Download more network handouts at www.kateto.net / www.ognyanova.net

2
Filters based on edges allow you to select ties with different properties – e.g. a particular range of
weights. Topology filters allow for selection based on network structure – components, K-cores, degree
range, etc. Operators allow you to combine other filters in different ways (find their intersection, union,
complement, etc.).
Fig.1 → 8, Statistics Tab: To calculate a network/node/edge statistic, click the "Run" button next to it.
Once calculated, many measures will be available in the Data Laboratory – and can be used in the
visualization (e.g. computing eigenvector centrality will allow you to resize nodes based on that
attribute). Note that to get betweenness and closeness centrality, you need to calculate the average
path length (hit "Run" next to Avg. Path Length).

Figure 2: The Gephi interface: Data Laboratory

1

2

3

4

Fig.2 → 1: Data table for nodes and node attributes.
Fig.2 → 2: Data table for edges and edge attributes.
Fig.2 → 3: Import spreadsheets: node and edge data from Excel/CSV/etc.
Fig.2 → 4: Manipulate data columns (you can also change individual values directly by clicking on them
and typing their new values).

Download more network handouts at www.kateto.net / www.ognyanova.net

3
Figure 3: The Gephi interface: Preview Tab

1

2
3

4

Fig.3 → 1: Configure rendering settings: size, color, and other properties of nodes, edges, and labels.
Those apply to the visualization in general. If you want to change specific properties (e.g. the color of a
particular node subset, the width of some edges), you need to go back to the Overview tab (Fig.1).
Fig.3 → 2: If you are visualizing a very large network, rendering it may be time- and resource-intensive.
While you're tweaking the visualization properties, you may want to preview a smaller subgraph rather
than the full network. This option is controlled by the Preview Ratio setting.
Fig.3 → 3: After you change the rendering settings you need to refresh the network preview.
Fig.3 → 4: Change the preview background color.

Save and Export
Once you are satisfied with your network visualization, you can save your project in one of multiple
supported formats. To save as a graph file, go to File -> Export -> Graph File and select your preferred
format. To save as an image or PDF file, go to File -> Export -> SVG/PDF/PNG File. If installed, several
optional Gephi plugins will also allow you to export to an interactive web project that can be easily
embedded into your website.

Download more network handouts at www.kateto.net / www.ognyanova.net

4

Contenu connexe

Similaire à GEPHI BASICS - VISUALIZE NETWORKS WITH THIS OPEN SOURCE TOOL

Polyline download and visualization over terrain models
Polyline download and visualization over terrain modelsPolyline download and visualization over terrain models
Polyline download and visualization over terrain modelsgraphitech
 
Programming Without Coding Technology (PWCT) Environment
Programming Without Coding Technology (PWCT) EnvironmentProgramming Without Coding Technology (PWCT) Environment
Programming Without Coding Technology (PWCT) EnvironmentMahmoud Samir Fayed
 
E2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development InstructionsE2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development InstructionsE2D3.org
 
Building Geodatabase 2014
Building Geodatabase 2014 Building Geodatabase 2014
Building Geodatabase 2014 Najed Hanahnah
 
Report: Test49 Geant4 Monte-Carlo Models Testing Tools
Report: Test49 Geant4 Monte-Carlo Models Testing ToolsReport: Test49 Geant4 Monte-Carlo Models Testing Tools
Report: Test49 Geant4 Monte-Carlo Models Testing ToolsRoman Atachiants
 
A Holistic Approach to Addressing the Cloud's Paradox of Choice
A Holistic Approach to Addressing the Cloud's Paradox of ChoiceA Holistic Approach to Addressing the Cloud's Paradox of Choice
A Holistic Approach to Addressing the Cloud's Paradox of ChoiceJack Mills
 
Ugif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutesUgif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutesUGIF
 
Spatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use CasesSpatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use Casesmathieuraj
 
Pnbhfl training final
Pnbhfl training finalPnbhfl training final
Pnbhfl training finalNupur Mishra
 
Basic commands of ArcGIS
Basic commands of ArcGISBasic commands of ArcGIS
Basic commands of ArcGISKU Leuven
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questionsVipul Naik
 
Manual to basic gis
Manual to basic gisManual to basic gis
Manual to basic gisQust04
 
1 Project 2 Introduction - the SeaPort Project seri.docx
1  Project 2 Introduction - the SeaPort Project seri.docx1  Project 2 Introduction - the SeaPort Project seri.docx
1 Project 2 Introduction - the SeaPort Project seri.docxhoney725342
 
Frac paq user guide v2.0 release
Frac paq user guide v2.0 releaseFrac paq user guide v2.0 release
Frac paq user guide v2.0 releasejoseicha
 
Schematics designer tutorial_i
Schematics designer tutorial_iSchematics designer tutorial_i
Schematics designer tutorial_iguestc78605
 

Similaire à GEPHI BASICS - VISUALIZE NETWORKS WITH THIS OPEN SOURCE TOOL (20)

Gsoc proposal
Gsoc proposalGsoc proposal
Gsoc proposal
 
Polyline download and visualization over terrain models
Polyline download and visualization over terrain modelsPolyline download and visualization over terrain models
Polyline download and visualization over terrain models
 
Programming Without Coding Technology (PWCT) Environment
Programming Without Coding Technology (PWCT) EnvironmentProgramming Without Coding Technology (PWCT) Environment
Programming Without Coding Technology (PWCT) Environment
 
E2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development InstructionsE2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development Instructions
 
Building Geodatabase 2014
Building Geodatabase 2014 Building Geodatabase 2014
Building Geodatabase 2014
 
Report: Test49 Geant4 Monte-Carlo Models Testing Tools
Report: Test49 Geant4 Monte-Carlo Models Testing ToolsReport: Test49 Geant4 Monte-Carlo Models Testing Tools
Report: Test49 Geant4 Monte-Carlo Models Testing Tools
 
A Holistic Approach to Addressing the Cloud's Paradox of Choice
A Holistic Approach to Addressing the Cloud's Paradox of ChoiceA Holistic Approach to Addressing the Cloud's Paradox of Choice
A Holistic Approach to Addressing the Cloud's Paradox of Choice
 
Ugif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutesUgif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutes
 
Geoprocessing
GeoprocessingGeoprocessing
Geoprocessing
 
Spatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use CasesSpatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use Cases
 
Pnbhfl training final
Pnbhfl training finalPnbhfl training final
Pnbhfl training final
 
Content and user types layout
Content and user types layoutContent and user types layout
Content and user types layout
 
Basic commands of ArcGIS
Basic commands of ArcGISBasic commands of ArcGIS
Basic commands of ArcGIS
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questions
 
Manual to basic gis
Manual to basic gisManual to basic gis
Manual to basic gis
 
1 Project 2 Introduction - the SeaPort Project seri.docx
1  Project 2 Introduction - the SeaPort Project seri.docx1  Project 2 Introduction - the SeaPort Project seri.docx
1 Project 2 Introduction - the SeaPort Project seri.docx
 
Frac paq user guide v2.0 release
Frac paq user guide v2.0 releaseFrac paq user guide v2.0 release
Frac paq user guide v2.0 release
 
spss Help
spss Helpspss Help
spss Help
 
Schematics designer tutorial_i
Schematics designer tutorial_iSchematics designer tutorial_i
Schematics designer tutorial_i
 
Ibm redbook
Ibm redbookIbm redbook
Ibm redbook
 

Dernier

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

GEPHI BASICS - VISUALIZE NETWORKS WITH THIS OPEN SOURCE TOOL

  • 1. COMM 645 HANDOUT – GEPHI BASICS Gephi Resources: • • • • • • Gephi: The Open Graph Viz Platform. Download from www.gephi.org Gephi Quick Start Tutorial: www.gephi.org/users/quick-start Gephi Visualization Tutorial: www.gephi.org/users/tutorial-visualization Gephi Layouts Tutorial: www.gephi.org/users/tutorial-layouts Gephi Wiki: wiki.gephi.org Gephi Community Portal: wiki.gephi.org/index.php/Community_portal Data Formats Gephi's own files have an extension .gephi. The software can read many other file formats, including GEXF, GDF, GML, GraphML, Pajek NET files, and UCINET DL files. You can open any of those by simply going to File -> Open. Gephi can also read Excel and CSV files. To import data from CSV, you will usually need to prepare two files – one containing nodes and their attributes, and another containing an edge list and edge attributes (see the example CSV files used in the class demonstration for Lab 9). The CSV file containing nodes needs to include a column named "ID" containing - as you might have guessed – unique node IDs. The edge list CSV should include columns titled "Source" and "Target", containing node IDs of the start and end node for each edge. In addition, you can include a column called "Type" indicating the type of each edge ("Undirected" or "Directed"). To import the files, go to the Data Laboratory tab -> Import Spreadsheet button (3 on Fig.3). Select your file, make sure to select the appropriate table type from the "As Table:" drop-down menu (i.e. Nodes Table or Edges Table). Import both files, preferably starting with the node table. Click "Next" and make sure that each column of your data is assigned an appropriate format (e.g. you can import text fields as "String", categorical numerical data as "Integer", continuous attributes as "Float", time interval variables for dynamic networks as "TimeInterval", etc.). Click "Finish". Major sections within Gephi: • • • Overview Tab: Data Laboratory Tab: Preview Tab: Calculate network measures & set up the network visualization. Examine and edit the network data (node & edge tables). Configure the rendering settings (colors, sizes, line width, opacity, etc.) and preview the visualization. Download more network handouts at www.kateto.net / www.ognyanova.net 1
  • 2. Figure 1: The Gephi interface: Overview tab 1 2 7a 8 4 3 7b 5 6 Fig.1 → 1, Partition Tab: Change node/edge color based on a categorical attribute (select the Nodes or Edges tab, select the attribute from the drop-down Type menu). Fig.1 → 2, Ranking Tab: Change the color or size of a node/edge/label based on a continuous attribute (You can select which visual property to change using the buttons in the top right corner of the tab). Fig.1 → 3, Layout Tab: Select and customize one of the available layout algorithms. Fig.1 → 4: Interactive selection of nodes/edges; change size/color manually; add nodes/edges, etc. Fig.1 → 5: Reset the node size, color, label, or label size. Fig.1 → 6: Change color, size and other characteristics applying to all nodes, edges, and labels. Fig.1 → 7a, Filters Tab: Apply filters to select specific nodes and/or edges from your network. The filters are applied through dragging and dropping onto Fig.3 → 7b: Queries. The filters based on attributes include "Equal" (select elements with particular attribute values), "Partition"(select different levels of categorical attributes), "Range" (select nodes/edges with attribute values in a particular range – for instance out-degree between 1 and 4), Inter-edges (select edges with particular attributes – for one-mode networks), Intra-edges (select edges with particular attributes, going across the modes of multimode networks), and so on. Download more network handouts at www.kateto.net / www.ognyanova.net 2
  • 3. Filters based on edges allow you to select ties with different properties – e.g. a particular range of weights. Topology filters allow for selection based on network structure – components, K-cores, degree range, etc. Operators allow you to combine other filters in different ways (find their intersection, union, complement, etc.). Fig.1 → 8, Statistics Tab: To calculate a network/node/edge statistic, click the "Run" button next to it. Once calculated, many measures will be available in the Data Laboratory – and can be used in the visualization (e.g. computing eigenvector centrality will allow you to resize nodes based on that attribute). Note that to get betweenness and closeness centrality, you need to calculate the average path length (hit "Run" next to Avg. Path Length). Figure 2: The Gephi interface: Data Laboratory 1 2 3 4 Fig.2 → 1: Data table for nodes and node attributes. Fig.2 → 2: Data table for edges and edge attributes. Fig.2 → 3: Import spreadsheets: node and edge data from Excel/CSV/etc. Fig.2 → 4: Manipulate data columns (you can also change individual values directly by clicking on them and typing their new values). Download more network handouts at www.kateto.net / www.ognyanova.net 3
  • 4. Figure 3: The Gephi interface: Preview Tab 1 2 3 4 Fig.3 → 1: Configure rendering settings: size, color, and other properties of nodes, edges, and labels. Those apply to the visualization in general. If you want to change specific properties (e.g. the color of a particular node subset, the width of some edges), you need to go back to the Overview tab (Fig.1). Fig.3 → 2: If you are visualizing a very large network, rendering it may be time- and resource-intensive. While you're tweaking the visualization properties, you may want to preview a smaller subgraph rather than the full network. This option is controlled by the Preview Ratio setting. Fig.3 → 3: After you change the rendering settings you need to refresh the network preview. Fig.3 → 4: Change the preview background color. Save and Export Once you are satisfied with your network visualization, you can save your project in one of multiple supported formats. To save as a graph file, go to File -> Export -> Graph File and select your preferred format. To save as an image or PDF file, go to File -> Export -> SVG/PDF/PNG File. If installed, several optional Gephi plugins will also allow you to export to an interactive web project that can be easily embedded into your website. Download more network handouts at www.kateto.net / www.ognyanova.net 4