Gephi Tutorial Visualization PDF
Gephi Tutorial Visualization PDF
Gephi Tutorial
Visualization
* Introduction
* Zoom & Pan
* Selection
* Color
Visualization
* 3-D
* Labels
Welcome to this Gephi tutorial. It will guide you to the basic and advanced visualization
* Text size settings in Gephi. The selection and interaction with tools will also be introduced.
* Text color Follow the Quick Start tutorial to learn the basic steps.
* Adjust labels
* Attributes text Gephi version 0.7alpha4 is used to do this tutorial.
* Text & Selection
* Antialiasing Get Gephi
* Screenshots
* Tools
* Transform texts
* Conclusion
A sample airlines.gexf dataset is used during this tutorial. It maps airline routes in the
United-States.
without with
Tutorial
Visualization Edges color
* Introduction By default edges have the same color as their source node. This can be configured and a
* Zoom & Pan single color put instead.
* Selection
* Color • Expand the visualization settings and go to the “Edges” tab
* 3-D
* Labels • Uncheck the “Source node color” and configure “Edge defaut color”
* Text size
* Text color
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing
* Screenshots
* Tools
* Transform texts
* Conclusion
Font quality
To have better font rendering, increase the Font size and reduce the text size.
Tutorial
Visualization Size mode
* Introduction The differences between size mode in text drawing. One can see the text size on the
* Zoom & Pan right is proportional to the node’s size.
* Selection
* Color
* 3-D
* Labels
* Text size
* Text color
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing
* Screenshots
* Tools
* Transform texts Fixed mode Node size
* Conclusion
Palette
Combine Alt, Shift and Ctrl (Command on Macintosh) to switch palettes on the fly.
Tutorial
Visualization Label Adjust
* Introduction Using the sample dataset with text display, labels are some-
* Zoom & Pan times overlapping. The “Label Adjust” layout can be run to
* Selection avoid that.
* Color
• Go to the Layout panel
* 3-D
* Labels • Choose the “Label Adjust” layout in the list
* Text size
* Text color • Click on to proceed
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing
* Screenshots
* Tools
* Transform texts
* Conclusion
Overlapping Fine
Tutorial
Visualization Display attributes
* Introduction Besides a label, nodes and edges have attributes, like gender, age or relationship type in
* Zoom & Pan a social network. It’s easy to display them instead/with the label.
* Selection
* Color
• Click on the “Attributes” button in the visualization settings.
* 3-D
* Labels • A dialog appears and lists all attributes, separated for nodes
* Text size and edges.
* Text color
* Adjust labels
• Check all attributes you want to display, for
* Attributes text
instance “Code”.
* Text & Selection
* Antialiasing
* Screenshots • Click on OK to confirm
* Tools
* Transform texts
* Conclusion
Values will be displayed separated by a ‘-’
character.
Tutorial
Visualization Display only selected labels
* Introduction A useful option for showing labels only if elements are selected. Works for both nodes
* Zoom & Pan and edges.
* Selection
* Color
* 3-D
* Labels
* Text size
* Text color
* Adjust labels
* Attributes text
* Text & Selection • Expand the visualization settings and go to the “Labels” tab
* Antialiasing
* Screenshots
* Tools • Check the “Hide non-selected” option
* Transform texts
* Conclusion
Tutorial
Visualization Antialiasing option
* Introduction Antialiasing is a visualization option which makes edges look
* Zoom & Pan smoother. It is set at 4x by default and can go up to 16x.
* Selection
* Color • Go to Gephi options in the “Tools” menu
* 3-D
0x
* Labels
* Text size • Select the “Visualization” tab and then the “OpenGL” tab.
* Text color
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing
* Screenshots
* Tools
* Transform texts
* Conclusion 16x
• Here you can change the antialising option. Restart Gephi to validate the changes.
The best value is 16x but is not supported on all hardware. It is recommended to update
your graphics driver to profit from maximum performance in Gephi.
Tutorial
Visualization Take screenshots
* Introduction Gephi can take high-resolution screenshots of the current visualization window. Screen-
* Zoom & Pan shots images are exported in PNG format.
* Selection
* Color
• Find the camera icon in the visualization bar
* 3-D
* Labels
* Text size • Click on the down arrow to access the settings panel
* Text color
* Adjust labels High-resolution screenshots depend on your com-
* Attributes text puter capabilities. Screenshot with higher resolu-
* Text & Selection tion looks better but have a larger file size.
* Antialiasing
* Screenshots Antialiasing makes edges smoother. Note that 16x
* Tools is not supported on all hardware.
* Transform texts
* Conclusion With good hardware you can go until 16000 width
and 16x antialiasing.
• Click on the icon to take the screenshot. The interface will appears frozen during
execution. That is normal, just wait few seconds until the process ends.
Tutorial
Visualization Tools
* Introduction Tools are available in the toolbar and allow various interactions with the graph win-
* Zoom & Pan dow or graph elements (nodes, edges). They can react on mouse click, selection,
* Selection drag or more complex scenario like “moving up while pressing”.
* Color
• Click on the first tool, the “Painter” and hold mouse button to color selected
* 3-D
nodes.
* Labels
* Text size You can see properties related to tools are located in the upper properties bar
* Text color
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing
* Screenshots
* Tools
* Transform texts • Try now the pencils tools to create new nodes and edges. Increase default node
size to make them more visible, set 10 instead of 1.
* Conclusion
Tutorial
Visualization Shortest Path tool
* Introduction Visualizing the shortest path between two nodes can be done with a tool easily.
* Zoom & Pan
* Selection • Click on the shortest path tool in the toolbar
* Color
• Click on a node (the source node) and then on the target node
* 3-D
* Labels
* Text size
* Text color
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing The path is colored and nodes are selected. If no path is found, the properties bar indi-
* Screenshots cates “No path exists between these two nodes”. The distance is given otherwise. Note
* Tools the distance takes edge weight in account.
* Transform texts
• Click elsewhere on the window to unselect the nodes. And use
* Conclusion
“Reset Color” action to remove the red color.
Undirected graphs
Note that the shortest path is not the same for directed and undirected graphs.
Tutorial
Visualization Heatmap tool
* Introduction Working with network distance like the Shortest Path tool, the Heatmap gives distance
* Zoom & Pan from a single node point of view. It can easily highlight the closest or the farthest reach-
* Selection able nodes.
* Color
• Select the Heatmap tool
* 3-D
* Labels • Configure the gradient like below. Double-click on the triangles to change color.
* Text size
* Text color
* Adjust labels • Use the airlines sample dataset and click on a node. Farthest reachable airports are
* Attributes text painted in red. The properties bar also indicates the max distance value. Compare De-
* Text & Selection troit, a well connected airport and a less central one.
* Antialiasing
* Screenshots
* Tools
* Transform texts
* Conclusion
Heatmap from the Minneapolis airport.
And share your tools ideas and suggestions on the Gephi forum.
Tutorial
Visualization Bonus
* Introduction Text color and size can be used as a visual sign to express higher influence or any
* Zoom & Pan other characteristic. To conclude this tutorial, let’s see how to do something like
* Selection below.
* Color
* 3-D
* Labels
* Text size
* Text color
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing
* Screenshots
* Tools
* Transform texts
* Conclusion
Tutorial
Visualization Transform text color and size
* Introduction The Ranking module will be used to do that.
* Zoom & Pan
* Selection • Find the label color transformer and select which
* Color attribute to use for ranking. Here the “Degree” is chosen.
* 3-D
• Configure the ranking colors and click on
* Labels
* Text size
* Text color The text should be colored now. Try also to use “Betweenness
* Adjust labels Centrality” instead of “Degree”.
* Attributes text
* Text & Selection • Now select the label size transformer
* Antialiasing
* Screenshots • Select sizes between 0 and 1, as this size value
* Tools is multiplied with the default element size
* Transform texts
• Click on to see how the text size changes
* Conclusion
Reset transformations
Click on “Reset label color” and “Reset label size” to reset text aspect.
Tutorial
Visualization Conclusion
* Introduction In this tutorial you learnt more about Gephi’s visualization capabilities and the essential
* Zoom & Pan settings. You are now mastering text drawing and are ready to produce more readable
* Selection and nifty-looking results. You discovered interactive features like Tools and know how to
* Color configure them.
* 3-D
A future tutorial may focus only on tools and provide details about all of them. In the
* Labels meantime you’re welcome to ask all the questions you want on the forum. The Gephi
* Text size community can help you.
* Text color
* Adjust labels
* Attributes text
* Text & Selection
* Antialiasing
* Screenshots Go further:
* Tools • Gephi Website
* Transform texts • Gephi Wiki
• Gephi forum
* Conclusion