I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G. 1998 Graph Drawing: Algorithms for the Visualization.

Slides:



Advertisements
Similar presentations
Network Visualization by Semantic Substrates Aleks Aris Ben Shneiderman.
Advertisements

Divide and Conquer. Subject Series-Parallel Digraphs Planarity testing.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
Depth-First Search1 Part-H2 Depth-First Search DB A C E.
Motion Planning for Point Robots CS 659 Kris Hauser.
Force-Directed Methods
Optimal Rectangle Packing: A Meta-CSP Approach Chris Reeson Advanced Constraint Processing Fall 2009 By Michael D. Moffitt and Martha E. Pollack, AAAI.
Label Placement and graph drawing Imo Lieberwerth.
Beams and Frames.
Tutorial 6 of CSCI2110 Bipartite Matching Tutor: Zhou Hong ( 周宏 )
Seminar Graph Drawing H : Introduction to Graph Drawing Jesper Nederlof Roeland Luitwieler.
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.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Slides by Olga Sorkine, Tel Aviv University. 2 The plan today Singular Value Decomposition  Basic intuition  Formal definition  Applications.
IPSep-CoLa: The choice of a new generation (of graph visualisation enthusiasts) Tim Dwyer – Monash University, Australia Yehuda Koren – AT&T Research Kim.
Constrained Optimisation and Graph Drawing Tim Dwyer Monash University Australia
Graph Drawing Zsuzsanna Hollander. Reviewed Papers Effective Graph Visualization via Node Grouping Janet M. Six and Ioannis G. Tollis. Proc InfoVis 2001.
New Techniques for Visualisation of Large and Complex Networks with Directed Edges Tim Dwyer 1 Yehuda Koren 2 1 Monash University, Victoria, Australia.
Visual Analysis of Large Graphs Using (X, Y)-clustering and Hybrid Visualizations V. Batagelj, W. Didimo, G. Liotta, P. Palladino, M. Patrignani (Univ.
Automated Layout and Phase Assignment for Dark Field PSM Andrew B. Kahng, Huijuan Wang, Alex Zelikovsky UCLA Computer Science Department
A New Force-Directed Graph Drawing Method Based on Edge- Edge Repulsion Chun-Cheng Lin and Hsu-Chen Yen Department of Electrical Engineering, National.
3D Geometry for Computer Graphics
Graph Visualization cs5764: Information Visualization Chris North.
1 Last lecture  Path planning for a moving Visibility graph Cell decomposition Potential field  Geometric preliminaries Implementing geometric primitives.
Lecture 11: Structure from motion CS6670: Computer Vision Noah Snavely.
Force Directed Algorithm Adel Alshayji 4/28/2005.
Force Directed Algorithm Adel Alshayji 4/28/2005.
3D Geometry for Computer Graphics
Interactive Layout Design Optimization Author: Jeremy J. Michalek Presented by: Hoda Homayouni.
COMP4048 Incremental Graph Drawing Richard Webber National ICT Australia.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Automated Drawing of 2D chemical structures Kees Visser.
Lecture 12: Structure from motion CS6670: Computer Vision Noah Snavely.
CS 450: Computer Graphics 2D TRANSFORMATIONS
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2014.
Pebble Game Algorithm Demonstration
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
Information Visualization using graphs algorithms Symeonidis Alkiviadis
Crossing Minimisation (1) Ronald Kieft. Global contents Specific 2-layer Crossing Minimisation techniques After the break, by Johan Crossing Minimisation.
CS 551/651 Advanced Computer Graphics Warping and Morphing Spring 2002.
CSE554AlignmentSlide 1 CSE 554 Lecture 5: Alignment Fall 2011.
New method to optimize Force-directed layouts of large graphs Meva DODO, Fenohery ANDRIAMANAMPISOA, Patrice TORGUET, Jean Pierre JESSEL IRIT University.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
Metro Transit-Centric Visualization for City Tour Planning Pio Claudio and Sung-Eui Yoon.
Medical Image Analysis Image Registration Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
11/11/20151 Trusses. 11/11/20152 Element Formulation by Virtual Work u Use virtual work to derive element stiffness matrix based on assumed displacements.
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2013.
CS270 Project Overview Maximum Planar Subgraph Danyel Fisher Jason Hong Greg Lawrence Jimmy Lin.
Data Structures and Algorithms in Parallel Computing Lecture 2.
Visualization of Biological Information with Circular Drawings.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
Sheng-Fang Huang Chapter 11 part I.  After the image is segmented into regions, how to represent and describe these regions? ◦ In terms of its external.
Write Bresenham’s algorithm for generation of line also indicate which raster locations would be chosen by Bresenham’s algorithm when scan converting.
Clustering [Idea only, Chapter 10.1, 10.2, 10.4].
CSE 554 Lecture 8: Alignment
IAT 355 Graphs ______________________________________________________________________________________.
Algorithms and Networks
The minimum cost flow problem
Mean Shift Segmentation
Fitting Curve Models to Edges
Projective Transformations for Image Transition Animations
Automated Layout and Phase Assignment for Dark Field PSM
Introduction to Graph drawing
Presentation transcript:

I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization of Graphs. 1st. Prentice Hall PTR.

C ONSTRAINTS Henry, T.S, and Hudson, S.E. : Interactive Graph Layout. University of Arizona, Tucson, AZ, USA. UMI Order No. GAX ,1992. Dwyer, T. and Robertson, G. Layout with Circular and Other Non- linear Constraints Using Procrustes Projection. Microsoft Research, Redmond, USA. Graph Drawing, Volume 5849/2010.

W HY USING CONSTRAINTS ? Maximize display symmetry Avoid edge crossings Avoid edge bending Keep edge length uniform Distribute vertices uniformly

C ONSTRAINTS THAT ARE USUALLY USED Center Place a given vertex to the center of the drawing External Place a given subset of vertices on the outer boundary of the drawing Cluster Place a given subset of vertices close together Left-right (top-bottom) Draw a given path horizontally from left to right (vertically from top to bottom) Shape Draw a given subgraph with a predefined shape

C ONSTRAINTS THAT CAN BE HANDLED BY FD- METHODS Position constraints Fixed-subgraph constraints Constraints that can be expressed by forces or energy functions

P OSITION CONSTRAINTS A single point A vertex can be nail down at a specific location A horizontal line A group of vertices can be arranged on a layer A circle A group of vertices can be restricted to a specific region Vertical and horizontal magnetic field Radial magnetic field

F IXED - SUBGRAPH CONSTRAINTS Assign prescribed drawing to a subgraph. May be translated or rotated, but not deformed. Considering the subgraph as a rigid body.

Constraints expressed by forces Orientation of directed edges: magnetic spring Geometric clustering of special set of vertices Alignment of vertices Clustering can be achieved For each set C of vertices, add a dummy attractor vertex v C Add attractive forces between an attractor v C and each vertex in C. Add repulsive forces between pairs of attractors and between attractors and vertices not in any cluster.

W HAT TO CONSIDER The best layout depends on what information the user currently focused on. Overall layout or substructures User control the layout process Large graphs One possible solution is to build lots of graphs each of which focuses on a few substructures that the user thinks are important

C ONCEPTS OF BUILDING INTERACTIVE GRAPH LAYOUT An architecture for building a new simple graph layout algorithms from existing algorithms. Parameterize graph layout algorithms to give the user control over the layout process A high interactive mechanism for selecting portions of the graph that match the user’s current focus. Henry, T.S, and Hudson, S.E. : Interactive Graph Layout. University of Arizona, Tucson, AZ, USA. UMI Order No. GAX ,1992.

C OMPOSING GRAPH LAYOUT ALGORITHMS HIERARCHICALLY Allows users to create simple new layout algorithms by plugging together existing layout algorithms. Following the divide-and-conquer algorithm, subdivide graph into subgraphs. Each subgraph laid out separately using the same algorithm. Individual layouts paste together to create total graph layout.

Placing the nodes on the perimeter of a circle Both should be available to user Freedom to alternate between them Power to create new layouts Eight nodes connected graph

Emphasizes the two shortest paths between start and destination Row algorithm Connections between the paths and the rest of the graph. Concentric rings

P ARAMETERIZED LAYOUT ALGORITHM Changing the root node can change the graph and focus of the layout to reflect the user's interest Different views of the same graph with different parameterization of the same algorithm

Which set of nodes will produce the best subgraph? It should be easy and fast to iteratively try different parameterization sets. Users can discover new aspects while exploring different parameterizations. What if user can combine the last two mechanisms? User can customize portions of the graph by changing the parameters to the algorithm for that portion.

S UBGRAPH SELECTION Selecting pieces that are small enough to look and focus Apply a layout algorithm to each subgraph Creating different views of graph until it meets the users needs The process should be easy or it will interfere with the exploration

T YPES OF SELECTION Manual selection Select nodes in the graph by pointing at them with mouse, or group them with drawing rectangle around them. For few number of nodes, or nodes that are positioned close to each other. Algorithmic selection Traverse the graph marking nodes as being selected For nodes that may not be visible, or are spread through the graph.

Nodes root and destination manually selected. Applying shortest path selection algorithm, which is parameterized with two nodes, selects all the nodes on the shortest path between them. The selected nodes have been laid out by the row layout algorithm highlighting the shortest path.

D OWNWARD - POINTING EDGE CONSTRAINTS Dwyer, T., Koren, Y., Marriott, K.: IPSep-CoLa: an incremental procedure for separation constraint layout of graphs. IEEE Transactions on Visualization and Computer Graphics 12(5), 821–828 (2006)

P AGE - BOUNDARY CONSTRAINTS Dwyer, T., Koren, Y., Marriott, K.: IPSep-CoLa: an incremental procedure for separation constraint layout of graphs. IEEE Transactions on Visualization and Computer Graphics 12(5), 821–828 (2006)

N ON - OVERLAP CONSTRAINTS Dwyer, T., Koren, Y., Marriott, K.: IPSep-CoLa: an incremental procedure for separation constraint layout of graphs. IEEE Transactions on Visualization and Computer Graphics 12(5), 821–828 (2006)

A LIGNMENT CONSTRAINTS Dwyer, T., Koren, Y., Marriott, K.: IPSep-CoLa: an incremental procedure for separation constraint layout of graphs. IEEE Transactions on Visualization and Computer Graphics 12(5), 821–828 (2006)

C ONSTRAINT PROJECTION TECHNIQUES Projecting the variables: x=(x 1,…,x n ) with starting positions d=(d 1,…,d n ) against a set of constraints that define a feasible region S means finding the point x in S closest to d:

(x 1,y 1 ) (x 2,y 2 ) (x 3,y 3 ) w1w1 w2w2 h2h2 h3h3 S EPARATION CONSTRAINT PROJECTION Separation constraints: x 1 +d ≤ x 2, y 1 +d ≤ y 2 can be used with force-directed layout to impose certain spacing requirements x 1 + ≤ x 2 (w 1 +w 2 ) 2 y 3 + ≤ y 2 (h 2 +h 3 ) 2 Dwyer, T. and Robertson, G. Layout with Circular and Other Non-linear Constraints Using Procrustes Projection. Microsoft Research, Redmond, USA. Graph Drawing, Volume 5849/2010.

P ROCRUSTES PROJECTION X be set of 2D points, and Y is a set of projections of X Y has a rigid shape but can be scaled by the factor s, translated be a factor t or rotated by an orthogonal matrix T Such that (1)

By differentiating with respect to t: Substituting (2) for t in (1), Substituting (2) and (3) in (1): T is invariant to s or t. (2) (3) What is tr Y’Y ?

W HAT IS T? It can be shown that: T=QP’, where svd(X’Y)=PΦQ’ is the optimal rotation Lets say we have The singular value decomposition of A, or:

P ROJECT X ON Y Input: matrix X of n pints, a matrix Y of n points the target configuration (centered on the origin), Output: the projection of X on the optimally transformed Y