SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Ähnlich wie Comm645 gephi handout

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
 
trafficaaaassignmentpresentationboo.pptx
trafficaaaassignmentpresentationboo.pptxtrafficaaaassignmentpresentationboo.pptx
trafficaaaassignmentpresentationboo.pptxpoodhood49
 
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
 

Ähnlich wie Comm645 gephi handout (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
 
trafficaaaassignmentpresentationboo.pptx
trafficaaaassignmentpresentationboo.pptxtrafficaaaassignmentpresentationboo.pptx
trafficaaaassignmentpresentationboo.pptx
 
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
 

Kürzlich hochgeladen

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
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
 

Kürzlich hochgeladen (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 

Comm645 gephi handout

  • 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