Practical Social Network Analysis With Gephi
- Dr. Derek Greene
Practical Social Network Analysis With Gephi Dr. Derek Greene - - PowerPoint PPT Presentation
Practical Social Network Analysis With Gephi Dr. Derek Greene Insight @ UCD Gephi - Introduction Gephi: Open source interactive network exploration and visualisation tool for Windows, Linux and Mac OS X. http://gephi.org Practical SNA
Practical SNA with Gephi 2
Practical SNA with Gephi 3
Simple binary graph No weights or attributes
Edge From Edge To
On loading, Gephi will ask whether graph is directed or undirected.
node and edge attributes, together with layout and presentation information (e.g. position, size, colour etc).
“workspaces” (i.e. several different graphs).
exchange data with other tools. Common examples:
http://gexf.net
http://graphml.graphdrawing.org http://cs.brown.edu/~rt/gdhandbook/chapters/graphml.pdf
http://en.wikipedia.org/wiki/Graph_Modelling_Language
Practical SNA with Gephi 4
5
Interact with your graph in a visual way.
Explore graph node & edge attribute data in tabular form.
Fine-tune and render your graph for export.
6
Pan with mouse, click to reset zoom Scale visible edge & text size Select & drag nodes Active graph Toggle Node Labels Active graph summary
7
Choose algorithm in “Layout” tab Properties to tweak algorithm
➡ Frequent choice is a “force atlas” algorithm, which
tries to ensure as few edges cross as possible.
Random Layout Force Atlas Layout
8
Run a metric from “Statistics” tab
Produces distribution plot
(user “popularity”)
Produces a report of centrality scores for all nodes.
9
Choose a statistic to rank nodes Switch to resize mode
More saturated (red) colour indicates higher in-degree Large node size indicates higher in-degree
10
attribute to use to cluster nodes
to customise
re-colour nodes
Clustering of politicians based
attribute
Click “Show Pie” to plot cluster sizes
cluster analysis methods to automatically detect groups in the data (e.g. communities of similar Twitter users).
11
the “Statistics” tab
“Partition” tab & choose “Modularity class”.
re-colour nodes
Modularity-based clustering produces 2 communities
12
attribute to filter on.
search for, click “OK”.
13
attribute to filter on.
search for, click “OK”.
Filtered set of nodes based on affiliation = “FG”
14
Column operations Graph
Nodes Attributes Statistics
Graph Nodes
15
Graph Edges
Edge Pairs (Source, Target) Edge Weights
16
Use mouse or icons to move/crop graph Hit “Refresh” each time to update
Node appearance Edge appearance
17
Node appearance
18
Edge appearance
Export the final image to PDF or PNG
19
Labour Conservative
Liberal Democrat SNP Other
(Labour Scotland)
Greene & Cunningham (2013)
http://mlg.ucd.ie/networks/politics-uk.html
Labour Fine Gael Fianna Fáil Independent ULA
Sinn Féin
Green
20
Greene & Cunningham (2013)
http://mlg.ucd.ie/networks/politics-ie.html
21
Maireder & Schütz (2013)
Political parties Individual politicians
Practical SNA with Gephi 22
Statistics Layout Filter Cluster Import Preview Export
Explore Output Input
software for exploring and manipulating networks. Proc. ICWSM-09.
. Schütz (2014). The European Political Twittersphere: Network of top users discussing the 2014 European Elections. GFK white paper.
. (2013). Producing a Unified Graph Representation from Multiple Social Network Views. Proc. ACM Web Science’13.
Practical SNA with Gephi 23