Cheatography
https://cheatography.com
A cheat sheet to help navigate Gephi and address some common issues.
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Graph area
Toolbars surrounding the graph on the left and bottom.
Open Additional settings via a button on the bottom right |
Basic navigation
Zoom |
Mouse wheel |
Span |
Right mouse drag |
Basic selection and dragging
One node |
Pressing down CTRL |
X amount of nodes |
Use "Direct selection" tool and use "Configure" |
Highlight area of interest |
"Direct selection" tool |
Drag nodes |
"Drag" tool |
Appearance box
Top left. Most appearance related settings also use Additional settings from below the graph |
Colors
Background |
Additional settings -> Global -> Background color ✓ |
Nodes |
Appearance -> Nodes (Color) -> Unique/Partition/Ranking -> Apply |
Edges |
Default: edge color = node color. Otherwise: Appearance -> Edges (Color) -> Unique/Partition/Ranking -> Apply |
Labels |
Additional settings -> Labels -> Node ✓ |
Label color = node color |
Additional settings -> Labels -> Node ✓. Color -> Object |
Sizes
Nodes |
Appearance -> Nodes (Size) -> Unique/Ranking -> Apply. If an attribute is added to the data, change the column values to "float" so it would pop up in Ranking options |
Edges |
Default: size depends on weight. Otherwise: Additional settings -> Edges -> Scale |
Labels |
Additional settings -> Labels -> Node ✓. Size -> Fixed/Scaled/Node size |
|
|
Layout
Force Atlas |
Small world/scale free networks |
Force Atlas 2 |
Updated Force Atlas, handles large data sets better, keeps high quality |
Fruchterman-Reingold |
Simulates graph as system of mass particles. The algorithms aim to minimize the energy in the system. Standard but slow |
Yifan Hu |
Reduces complexity, fast, handles big data sets |
OpenOrd |
Expects undirected weighted graphs, aims to detect clusters. Really helpful on large graphs |
GeoLayout |
Based on latitude/longitude positions nodes, Mercarator projection linked to GMaps, coordinates should be numeric |
Possible to write own algorithms and install other plugins online
Layout overlaps and geometric changes
Noverlap |
Reduce Speed to increase quality, increase Margin and Ratio to increase space around nodes |
Label adjust |
Specific to visible labels. |
Clockwise Rotate |
Rotate -> Angle > 0 |
Counter-Clockwise Rotate |
Rotate -> Angle < 0 |
Expansion |
Expand whole graph by scale vector |
Contraction |
Contract whole graph by scale vector |
|
|
Statistics
Node size/color based on statistics |
Statistics -> Run a selected statistic, the values will appear as options under node size and color in Appearance |
Community-detection |
Statistics -> Modularity -> Run. Appearance -> Nodes (Color) -> Partition -> Modularity class |
Filter
Remove nodes with a single edge |
Filters -> Topology -> Degree range. To activate: Queries -> Degree range -> Move slider bound to 2 -> Filter |
Viewing and exporting
Graph settings and Preview settings |
Viewing
Graph |
Window -> Graph |
Data table |
Window -> Data table |
Timeline |
Window -> Timeline |
These are fixes in case the buttons "Overview", "Data Laboratory", and "Preview" in the top left don't work
Preview and export
View preview |
Window -> Preview. Window -> Preview settings -> Refresh |
Large graph |
Preview settings -> toggle Preview ratio bar |
Curved edges |
Preview settings -> Edges -> Curved ✓ |
Record snapshot |
Graph visualizations bar, camera icon (Take screenshot). Configure to change resolution |
Export |
Preview settings -> Export (SVG/PDF/PNG) |
|