Graph Visualization CSC4170 Web Intelligence and Social Computing Tutorial 2 Tutor: Tom Chao Zhou
Outline Background Graph Visualization Tools Case Study: Pajek Q & A
Background Visualization is a technique to graphically represent sets of data. When data is large or abstract, visualization can help make the data easier to read or understand.
Visualization Tools Pajek: UCINET: Netdraw: Stocnet: Manyeyes: …
Case Study: Pajek Pajek: Program for Large Network Analysis. Download page: Manual:
Case Study: Pajek Draw “Network” with Pajek: List of neighbours (Arcslist/Edgeslist) (unweighted graph) Pairs of lines (Arcs/Eges) (weighted graph) Matrix
Case Study: Pajek List of neighbours (Arcslist/Edgeslist) *Vertices 5 1 “a” 2 “b” 3 “c” 4 “d” 5 “e” *Arcslist *Edgeslist 1 5 Words, starting with *, must be written in first column of the line. Definition of vertices followed after that – to each vertex we give a label. using *Arcslist, a list of directed lines from selected vertices are declared. *Edgeslist, declares a list of undirected lines. No empty lines are allowed.
Case Study: Pajek 1, read the.net file 1, draw the network
Case Study: Pajek Pairs of lines (Arcs/Edges) *Vertices 5 1 "a" 2 "b" 3 "c" 4 "d" 5 "e" *Arcs *Edges Every arc/edge is defined separately in new line – initial and terminal vertex are given. Directed lines are defined using *Arcs, undirected lines are defined using *Edges, the third number in rows defining the weight.
Case Study: Pajek Matrix *Vertices 5 1 "a" 2 "b" 3 "c" 4 "d" 5 "e" *Matrix In this format directed lines are given in the matrix form (*Matrix). We can transform bidirected arcs to edges.
Case Study: Pajek Export to bmp, eps…
Case Study: Pajek Computing indegree and outdegree using Pajek: double click Partitions
Case Study: Pajek Graph and Digraph Glossary example: Derived from Bill Cherowitzo's Graph and Digraph Glossary. An arc (X,Y) from term X to term Y exists in the network iff in the Graph and Digraph Glossary the term Y is used to describe the meaning of term X.
Questions?