Visualization of Graph Data CS 4390/5390 Data Visualization Shirley Moore, Instructor October 6, 2014 1.

Slides:



Advertisements
Similar presentations
Analysis of Algorithms CS 477/677
Advertisements

Britain Southwick Nicole Anguiano March 29, 2014
Graphs Chapter 12. Chapter Objectives  To become familiar with graph terminology and the different types of graphs  To study a Graph ADT and different.
Edited by Malak Abdullah Jordan University of Science and Technology Data Structures Using C++ 2E Chapter 12 Graphs.
Hank Childs, University of Oregon November 22 nd, 2013 Force Directed Layouts.
Force directed graph drawing Thomas van Dijk. The problem Given a set of vertices and edges, compute positions for the vertices. If the edges don’t have.
Abstract Syntax Tree Rendering Noah Brickman CMPS 203.
Graph & BFS.
A New Force-Directed Graph Drawing Method Based on Edge- Edge Repulsion Chun-Cheng Lin and Hsu-Chen Yen Department of Electrical Engineering, National.
Graph Visualization cs5764: Information Visualization Chris North.
Network Optimization Problems: Models and Algorithms This handout: Minimum Spanning Tree Problem.
University of CreteCS4831 The use of Minimum Spanning Trees in microarray expression data Gkirtzou Ekaterini.
Graph COMP171 Fall Graph / Slide 2 Graphs * Extremely useful tool in modeling problems * Consist of: n Vertices n Edges D E A C F B Vertex Edge.
Graphs Chapter 12. Chapter 12: Graphs2 Chapter Objectives To become familiar with graph terminology and the different types of graphs To study a Graph.
SIMS 247: Information Visualization and Presentation jeffrey heer
Spring 2010CS 2251 Graphs Chapter 10. Spring 2010CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs.
Force Directed Algorithm Adel Alshayji 4/28/2005.
Force Directed Algorithm Adel Alshayji 4/28/2005.
Fall 2007CS 2251 Graphs Chapter 12. Fall 2007CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs To.
Graphs & Graph Algorithms Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
Graph Visualization Tools NAM, Javis, Otter, H3Viewer Burton Filstrup.
Visualization Taxonomies and Techniques Graphs University of Texas – Pan American CSCI 6361, Spring 2014.
A Survey on Graph Visualization 1 Presented by Yang Zhang Dave Fuhry.
IAT Graphs ______________________________________________________________________________________ SCHOOL OF INTERACTIVE ARTS + TECHNOLOGY [SIAT]
By LaBRI – INRIA Information Visualization Team. Tulip 2010 – version Tulip is an information visualization framework dedicated to the analysis.
Chapter 9 – Graphs A graph G=(V,E) – vertices and edges
Networks and the Shortest Path Problem.  Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g.,
Lecture 12: Network Visualization Slides are modified from Lada Adamic, Adam Perer, Ben Shneiderman, and Aleks Aris.
Richard Johnson  How can we use the visualization tools we currently have more effectively?  How can the Software Development.
New method to optimize Force-directed layouts of large graphs Meva DODO, Fenohery ANDRIAMANAMPISOA, Patrice TORGUET, Jean Pierre JESSEL IRIT University.
VAST 2011 Sebastian Bremm, Tatiana von Landesberger, Martin Heß, Tobias Schreck, Philipp Weil, and Kay Hamacher Interactive-Graphics Systems TU Darmstadt,
Representing and Using Graphs
CPSC 320: Intermediate Algorithm Design & Analysis Greedy Algorithms and Graphs Steve Wolfman 1.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, November 1, 2012 Session 9: Visualization.
Visualizing Tabular Data CS 4390/5390 Data Visualization Shirley Moore, Instructor September 29,
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
Fundamental Data Structures and Algorithms (Spring ’05) Recitation Notes: Graphs Slides prepared by Uri Dekel, Based on recitation.
University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department.
Representing Uncertainty, Unknowns and Dynamics of Social Networks NX-Workshop on Social Network Analysis and Visualization for Public Safety 18 – 19 October.
Data Visualization Michel Bruley Teradata Aster EMEA Marketing Director April 2013 Michel Bruley Teradata Aster EMEA Marketing Director.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
CS270 Project Overview Maximum Planar Subgraph Danyel Fisher Jason Hong Greg Lawrence Jimmy Lin.
FlowGraph: A Compound Hierarchical Graph for Flow Field Exploration Jun Ma, Chaoli Wang, Ching-Kuang Shene Michigan Technological University Presented.
Data Abstraction and Time-Series Data CS 4390/5390 Data Visualization Shirley Moore, Instructor September 15,
Example Visualization Techniques CS 4390/5390 Fall 2014 Shirley Moore svmoore.pbworks.com August 27, 2014.
Graphs Chapter 12. Chapter 12: Graphs2 Chapter Objectives To become familiar with graph terminology and the different types of graphs To study a Graph.
“Niche Work” Graham J Wills, Lucent Technologies (Bell Lab)
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
90-723: Data Structures and Algorithms for Information Processing Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 7: Graphs Data Structures.
Graph Concepts Illustrated Using The Leda Library Amanuel Lemma CS252 Algorithms.
Design and Analysis of Algorithms Introduction to graphs, representations of a graph Haidong Xue Summer 2012, at GSU.
Graph Representations And Traversals. Graphs Graph : – Set of Vertices (Nodes) – Set of Edges connecting vertices (u, v) : edge connecting Origin: u Destination:
Programming Abstractions Cynthia Lee CS106B. Upcoming Topics Graphs! 1.Basics  What are they? How do we represent them? 2.Theorems  What are some things.
IAT 355 Graphs ______________________________________________________________________________________.
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Gephi Gephi is a tool for exploring and understanding graphs. Like Photoshop (but for graphs), the user interacts with the representation, manipulate the.
Network analysis.
I206: Lecture 15: Graphs Marti Hearst Spring 2012.
Network Visualization
Data Structures and Algorithms for Information Processing
Comp 245 Data Structures Graphs.
Graphs All tree structures are hierarchical. This means that each node can only have one parent node. Trees can be used to store data which has a definite.
CS223 Advanced Data Structures and Algorithms
Chapter 9: Graphs Basic Concepts
Software Visualization
CSE 417: Algorithms and Computational Complexity
GRAPHS Lecture 17 CS2110 Spring 2018.
Analyzing Massive Graphs - ParT I
Chapter 9: Graphs Basic Concepts
cs5984: Information Visualization Chris North
Presentation transcript:

Visualization of Graph Data CS 4390/5390 Data Visualization Shirley Moore, Instructor October 6,

Graphs and Trees graph – a set of nodes (vertices) connected by links (edges) Links can be directed or undirected. Two nodes are adjacent if they are connected by a link. Two edges are adjacent if they share a common node. Nodes and links can both have attributes. A path from node a to node b is a sequence of adjacent edges from a to b. A cycle is a path that begins and ends at the same node. A graph is connected if there exists a path between any two nodes. A tree is a connected acyclic graph. If there are n nodes, what is the maximum number of links – in a directed graph? – in an undirected graph? – in a directed tree? – in an undirected tree? 2

Graph Analytics 3 Slide courtesy of John Feo, PNNL

Scientific Grids vs. Data Informatics Graphs 4 Slide courtesy of John Feo, PNNL

5 Slide courtesy of Mathieu Bastian

National Security 6 Slide courtesy of Mathieu Bastian

Public Health 7

Small Graphs 8

Medium Graphs 9

Large Graphs 10

Implicit vs. Explicit 11

Graph Analytics 12

Idiom Choices 13

Triangular-vertical node-link layout What: Tree dataset Why: Hierarchical relationships, topology analysis tasks How: Vertical spatial position shows depth in tree, horizontal spatial position is artifact of layout algorithm Scale: A few dozen nodes 14

Spline-radial Layout What: tree dataset How: – Depth encoded as distance from center of circle – Links drawn as smoothly curving splines – Reingold-Tilford layout algorithm Scale: A few hundred nodes Example written in D3: –

D3 Tree Layout d3js_11.html d3js_11.html Layout Layout Representative of the D3 hierarchy layout – Layout Layout Produces node-link diagrams of trees using the Reingold-Tilford “tidy” algorithm Can input data that is in JSON (JavaScript Object Notation) format 16

Brainstorming Exercise 1 How could we scale tree layouts to more than a few hundred nodes? – Possible strategy: use 3D Why or why not? 17

Collapsible Tree Layout Example in D3 –

Treemap 19 Examples:

General Graph Layouts Also called network layouts Do not directly use spatial position to encode attribute values Layout algorithms try to minimize number of edge crossings and node overlaps. May use size and color encodings for node and link attributes 20

Force-Directed Placement Widely used for node-link network layout Position network elements according to a simulation of physical forces – e.g., – Nodes push away from each other – Links act like springs that draw their endpoints closer Can start by placing nodes randomly and iterating to gradually improve layout Disadvantages – Clusters may be artifacts of algorithm – Layout may be nondeterministic – May get stuck in local minimum energy configuration – Doesn’t scale past a few hundred nodes 21

What-Why-How for Force-Directed Placement 22

Scalable Force-Directed Placement (sfdp) Multilevel approach that transforms network into hierarchy of successively simpler networks Algorithm: Layout coarsest network first, then improve layout with more and more complex versions Examples: Graphviz software: 23

Adjacency Matrix View 24 Example:

Characteristic Patterns in Node-link and Matrix Views 25

Brainstorming Exercise 2 Which graph analysis tasks are better supported by the node-link view, and which are better supported by the matrix view? How does the above answer change with increasing size of the graph? 26

Graph Visualization Tools Sigma.js JavaScript library Sigma.js Gephi open source graph viz platform Gephi Many more! 27

Preparation for Next Class Keep working with D3, use the tutorials on the D3.js wiki Implement interaction in your parallel coordinates visualization for Lab 3 Decide which datasets to use for Lab 3 Grad students and extra credit for undergrads: Research k-means clustering 28

Looking Ahead Quest (Quiz/Test) on Wed, Oct. 15 Course exam on Wed, Nov