cs 5630 cs 6630 visualization graphs
play

CS-5630 / CS-6630 Visualization Graphs Alexander Lex - PowerPoint PPT Presentation

CS-5630 / CS-6630 Visualization Graphs Alexander Lex alex@sci.utah.edu [xkcd] Applications of Graphs Without graphs, there would be none of these: Michal 2000 www.itechnews.net Graph Visualization Case Study Graph Theory Fundamentals


  1. CS-5630 / CS-6630 Visualization Graphs Alexander Lex alex@sci.utah.edu [xkcd]

  2. Applications of Graphs Without graphs, there would be none of these:

  3. Michal ¡2000

  4. www.itechnews.net

  5. Graph Visualization Case Study

  6. Graph Theory Fundamentals Tree Network Hypergraph Bipartite ¡Graph

  7. Königsberg Bridge Problem (1736) Want to make $1 million? Find an O(n^k) algorithm to find Hamiltonian Paths (path that visits each vertex exactly once) - example of P vs. NP problem.

  8. Graph Terms (1) A graph G(V,E) consists of a set of vertices V (also called nodes) and a set of edges E connecting these vertices.

  9. Graph Terms (2) A simple graph G(V,E) is a graph which contains no multi-edges and no loops Not ¡a ¡simple ¡graph! 
 à A ¡ general ¡graph

  10. Graph Terms (3) A directed graph (digraph) is a graph that discerns between the edges and . A B A B A hypergraph is a graph 
 with edges connecting 
 Hypergraph ¡Example any number of vertices.

  11. Graph Terms (4) Independent Set 
 G contains no edges Independent ¡Set Clique 
 G contains all possible edges Clique

  12. Graph Terms (5) Path 
 G contains only edges that 
 can be consecutively traversed Path Tree 
 G contains no cycles Network 
 G contains cycles Tree

  13. Graph Terms (6) Unconnected graph 
 An edge traversal starting from 
 a given vertex cannot reach any 
 other vertex. Unconnected ¡Graph Articulation point 
 Vertices, which if deleted from 
 the graph, would break up the 
 graph in multiple sub-graphs. Articulation ¡Point ¡(red)

  14. 
 Graph Terms (7) Biconnected graph 
 A graph without articulation 
 points. Biconnected ¡Graph Bipartite graph 
 The vertices can be partitioned 
 in two independent sets. Bipartite ¡Graph

  15. Tree A graph with no cycles - or: A collection of nodes contains a root node and 0-n subtrees subtrees are connected to root by an edge root T 1 T 2 T 3 T n …

  16. Ordered Tree A A B C D B D C ≠ E F G I F E G I H H

  17. Binary Trees Contains no nodes, or Is comprised of three disjoint sets of nodes: C a root node, G F a binary tree called its left subtree, and H a binary tree called its right subtree ≠ C root G F H LT RT

  18. Different Kinds of Graphs Over ¡1000 ¡different ¡graph ¡classes Tree Bipartite ¡Graph Network Hypergraph A. ¡Brandstädt ¡et ¡al. ¡1999

  19. Graph Measures Node degree deg(x) 
 The number of edges being incident to this node. For directed graphs indeg/outdeg are considered separately. Diameter of graph G 
 The longest shortest path within G. Pagerank 
 count number & quality of links [Wikipedia]

  20. Graph Algorithms (1) Traversal: Breadth First Search, Depth First Search BFS DFS -­‑ classical ¡way-­‑finding/back-­‑tracking ¡ -­‑ generates ¡neighborhoods ¡ strategy ¡ -­‑ hierarchy ¡gets ¡rather ¡wide ¡ -­‑ tree ¡serialization ¡ than ¡deep ¡ -­‑ topological ¡ordering -­‑ solves ¡single-­‑source ¡shortest ¡ paths ¡(SSSP) ¡

  21. Hard Graph Algorithms 
 (NP-Complete) Longest path Largest clique Maximum independent set (set of vertices in a graph, no two of which are adjacent) Maximum cut (separation of vertices in two sets that cuts most edges) Hamiltonian path/cycle (path that visits all vertexes once) Coloring / chromatic number (colors for vertices where no adjacent v. have same color) Minimum degree spanning tree

  22. Graph and Tree Visualization

  23. Setting the Stage Interaction GRAPHICAL 
 GRAPH ¡DATA GOAL ¡/ ¡TASK REPRESENTATION Visualization How ¡to ¡decide ¡which ¡ representation ¡to ¡use ¡for ¡which ¡ type ¡of ¡ graph ¡in ¡order ¡to ¡achieve ¡which ¡kind ¡of ¡ goal ?

  24. Different Kinds of Tasks/Goals Two principal types of tasks: attribute-based (ABT) and topology-based (TBT) 
 Localize – find a single or multiple nodes/edges that fulfill a given property • ABT: Find the edge(s) with the maximum edge weight. • TBT: Find all adjacent nodes of a given node. 
 Quantify – count or estimate a numerical property of the graph • ABT: Give the number of all nodes. • TBT: Give the indegree (the number of incoming edges) of a node. 
 Sort/Orde r – enumerate the nodes/edges according to a given criterion • ABT: Sort all edges according to their weight. • TBT: Traverse the graph starting from a given node. list ¡adapted ¡from ¡Schulz ¡2010

  25. Three Types of Graph Representations Explicit ¡ 
 Implicit Matrix (Node-­‑Link)

  26. Explicit Graph Representations Node-link diagrams: vertex = point, edge = line/arc A Free B C Styled D E Fixed HJ ¡Schulz ¡2006

  27. Criteria for Good 
 Node-Link Layout Minimized edge crossings Minimized distance of neighboring nodes Minimized drawing area Uniform edge length Minimized edge bends Maximized angular distance between different edges Aspect ratio about 1 (not too long and not too wide) Symmetry : similar graph structures should look similar list ¡adapted ¡from ¡Battista ¡et ¡al. ¡1999

  28. 
 
 
 
 Conflicting Criteria Minimum ¡number 
 Space ¡utilization 
 of ¡edge ¡crossings 
 vs. 
 vs. 
 Symmetry Uniform ¡edge ¡ length Schulz ¡2004

  29. Force Directed Layouts Physics model: 
 edges = springs, 
 vertices = repulsive magnets in practice: damping Expander ¡ 
 Computationally 
 (pushing ¡nodes ¡apart) expensive: O(n3) Limit (interactive): ~1000 nodes Spring ¡Coil 
 (pulling ¡nodes ¡together)

  30. Giant Hairball [van ¡Ham ¡et ¡al. ¡2009]

  31. Adress Computational Scalability: Multilevel Approaches real ¡vertex virtual ¡vertex internal ¡spring virtual ¡spring Metanode ¡C external ¡spring Metanode ¡A Metanode ¡B [Schulz ¡2004]

  32. Abstraction/Aggregation 30k ¡nodes 750 ¡nodes 18 ¡nodes 90 ¡nodes cytoscape.org

  33. Collapsible Force Layout Supernodes: aggregate of nodes manual or algorithmic clustering

  34. HOLA: Human-like Orthogonal Layout Study how humans lay-out a graph Try to emulate layout Left: human, middle: conventional algo, right new algo [Kieffer et al, InfoVis 2015]

  35. Styled / Restricted Layouts Circular Layout Node ordering Edge Clutter ca. ¡6,3% ¡of ¡all ¡possible ¡edges ca. ¡3% ¡of ¡all ¡possible ¡edges

  36. Example: ¡ MizBee [Meyer ¡et ¡al. ¡2009] ¡

  37. Reduce Clutter: Edge Bundling Holten ¡et ¡al. ¡2006

  38. Hierarchical Edge Bundling Bundling ¡Strength Holten ¡et ¡al. ¡2006

  39. Fixed Layouts Can’t vary position of nodes Edge routing important

  40. Bundling Strength mbostock.github.com/d3/talk/20111116/bundle.html Michael Bostock

  41. Explicit Tree Visualization Reingold– Tilford layout http://billmill.org/pymag- trees/

  42. Tree Interaction, Tree Comparison

  43. Multivariate Graphs

  44. Node Attributes Coloring Glyphs -> Limited in scalability

  45. Small Multiples Cerebral [Barsky, 2008] Each dimension in its own window

  46. Data-driven node positioning GraphDice Nodes are laid out according to attribute values [Bezerianos et al, 2010]

  47. Path Extraction & Multiple Views

  48. Cannot account for variation found in 
 Experi- real-world data mental Branches can be (in)activated due to mutation, Data and changed gene expression, Pathways 
 modulation due to drug treatment, etc. [Partl, BioVis ‘12]

  49. Many Node Attributes Node Sample 1 Sample 2 Sample 3 … Pathway A A 0.55 0.95 0.83 … B 0.12 0.42 0.16 … B D C 0.33 0.65 0.38 … … … … … A E C C Node Sample 1 Sample 2 Sample 3 … A low low very high … G F B normal low high … C high very low normal … … … … … How to visualize experimental data on pathways?

  50. Good Old Color Coding A -3.4 4.2 5.1 4.2 B B 2.8 1.8 1.3 1.1 A C C 3.1 -2.2 2.4 2.2 D -3 -2.8 1.6 1.0 E 0.5 0.3 -1.1 1.3 D F 0.3 0.3 1.8 -0.3 E F [Lindroos2002]

  51. Challenge: Data Scale & Heterogeneity Large number of experiments Large datasets have more than 500 experiments Multiple groups/conditions Different types of data

  52. Challenge: Supporting Multiple Tasks B Two central tasks: A C Explore topology of pathway Explore the attributes of the nodes 
 D (experimental data) E F Need to support both!

  53. Concept Pathway View enRoute View Non-Genetic Dataset B A A B A C C D D D E E E F F Group 1 Group 1 Group 2 Dataset 2 Dataset 1 Dataset 1

  54. enRoute

  55. Video

  56. Case Study: CCLE Data 22

  57. Design Critique

  58. Connected China https://goo.gl/YXkWYX http://china.fathom.info/

  59. Matrix Representations

  60. Matrix Representations Instead of node link diagram, use adjacency matrix A A B C D E A B C B C D E D E

  61. Matrix Representations Examples: HJ ¡Schulz ¡2007

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend