A New Force-Directed Graph Drawing Method Based on Edge- Edge Repulsion Chun-Cheng Lin and Hsu-Chen Yen Department of Electrical Engineering, National.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Planar graphs Algorithms and Networks. Planar graphs2 Can be drawn on the plane without crossings Plane graph: planar graph, given together with an embedding.
1/22 Worst and Best-Case Coverage in Sensor Networks Seapahn Meguerdichian, Farinaz Koushanfar, Miodrag Potkonjak, and Mani Srivastava IEEE TRANSACTIONS.
Size-estimation framework with applications to transitive closure and reachability Presented by Maxim Kalaev Edith Cohen AT&T Bell Labs 1996.
Graph-02.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Force-Directed Methods
1 On Balloon Drawings of Rooted Trees Chun-Cheng Lin and Hsu-Chun Yen Dept. of Electrical Engineering, National Taiwan University.
Activity relationship analysis
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.
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
Graph Drawing and Information Visualization Laboratory Department of Computer Science and Engineering Bangladesh University of Engineering and Technology.
Active Calibration of Cameras: Theory and Implementation Anup Basu Sung Huh CPSC 643 Individual Presentation II March 4 th,
PHY 1361Dr. Jie Zou1 Chapter 30 Sources of the Magnetic Field (Cont.)
1 Balloon Views of Source Code and Their Multiscalable Font Modes Chun-Cheng Lin and Hsu-Chun Yen Dept. of Electrical Engineering, National Taiwan University.
Interconnect Estimation without Packing via ACG Floorplans Jia Wang and Hai Zhou Electrical & Computer Engineering Northwestern University U.S.A.
Localized Techniques for Power Minimization and Information Gathering in Sensor Networks EE249 Final Presentation David Tong Nguyen Abhijit Davare Mentor:
Drawing Graphs with Nonuniform Nodes Using Potential Fields Jen-Hui Chuang 1, Chun-Cheng Lin 2, Hsu-Chun Yen 2 1 Dept. of Computer and Information Science,
Sampling from Large Graphs. Motivation Our purpose is to analyze and model social networks –An online social network graph is composed of millions of.
EXPANDER GRAPHS Properties & Applications. Things to cover ! Definitions Properties Combinatorial, Spectral properties Constructions “Explicit” constructions.
Force Directed Algorithm Adel Alshayji 4/28/2005.
Force Directed Algorithm Adel Alshayji 4/28/2005.
1 Efficient Placement and Dispatch of Sensors in a Wireless Sensor Network Prof. Yu-Chee Tseng Department of Computer Science National Chiao-Tung University.
1 Refined Search Tree Technique for Dominating Set on Planar Graphs Jochen Alber, Hongbing Fan, Michael R. Fellows, Henning Fernau, Rolf Niedermeier, Fran.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 8: February 13, 2008 Retiming.
COVERTNESS CENTRALITY IN NETWORKS Michael Ovelgönne UMIACS University of Maryland 1 Chanhyun Kang, Anshul Sawant Computer Science Dept.
ELECTRICITY PHY1013S ELECTRIC FIELDS Gregor Leigh
Shape Blending Joshua Filliater December 15, 2000.
Primal-Dual Meets Local Search: Approximating MST’s with Non-uniform Degree Bounds Author: Jochen Könemann R. Ravi From CMU CS 3150 Presentation by Dan.
Algorithms for drawing large graphs
Efficient Gathering of Correlated Data in Sensor Networks
The Rectilinear Symmetric Crossing Minimization Problem Seokhee Hong The University of Sydney.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Crossing Minimisation (1) Ronald Kieft. Global contents Specific 2-layer Crossing Minimisation techniques After the break, by Johan Crossing Minimisation.
New method to optimize Force-directed layouts of large graphs Meva DODO, Fenohery ANDRIAMANAMPISOA, Patrice TORGUET, Jean Pierre JESSEL IRIT University.
A split&push approach to 3D orthogonal drawings giuseppe di battista univ. rome III maurizio patrignani univ. rome III francesco vargiu aipa.
A Clustering Algorithm based on Graph Connectivity Balakrishna Thiagarajan Computer Science and Engineering State University of New York at Buffalo.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
Department of Electrical Engineering, Southern Taiwan University Robotic Interaction Learning Lab 1 The optimization of the application of fuzzy ant colony.
Linear Regression Least Squares Method: an introduction.
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.
Robustness of complex networks with the local protection strategy against cascading failures Jianwei Wang Adviser: Frank,Yeong-Sung Lin Present by Wayne.
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Planar Graphs Graph Coloring
Spectral Sequencing Based on Graph Distance Rong Liu, Hao Zhang, Oliver van Kaick {lrong, haoz, cs.sfu.ca {lrong, haoz, cs.sfu.ca.
Most of contents are provided by the website Graph Essentials TJTSD66: Advanced Topics in Social Media.
CS270 Project Overview Maximum Planar Subgraph Danyel Fisher Jason Hong Greg Lawrence Jimmy Lin.
 From our studies of work and energy (Chaps. 7 & 8), we know that when a force acts on an object and displaces it, work is done on the object  This also.
Panther: Fast Top-k Similarity Search in Large Networks JING ZHANG, JIE TANG, CONG MA, HANGHANG TONG, YU JING, AND JUANZI LI Presented by Moumita Chanda.
Application of the GA-PSO with the Fuzzy controller to the robot soccer Department of Electrical Engineering, Southern Taiwan University, Tainan, R.O.C.
Visualization of Biological Information with Circular Drawings.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
Metaheuristics for the New Millennium Bruce L. Golden RH Smith School of Business University of Maryland by Presented at the University of Iowa, March.
I owa S tate U niversity Laboratory for Advanced Networks (LAN) Coverage and Connectivity Control of Wireless Sensor Networks under Mobility Qiang QiuAhmed.
18.1 Electrical Potential Energy pp Mr. Richter.
1 Lecture 5 (part 2) Graphs II (a) Circuits; (b) Representation Reading: Epp Chp 11.2, 11.3
Prof. Yu-Chee Tseng Department of Computer Science
Algorithms and Networks
Planar Graphs Hubert Chan (Chapter 9.7) [O2 Proof Techniques]
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Graphs Slides are adopted from “Discrete.
Effective Social Network Quarantine with Minimal Isolation Costs
Using Multilevel Force-Directed Algorithm to Draw Large Clustered Graph 研究生: 何明彥 指導老師:顏嗣鈞 教授 2018/12/4 NTUEE.
Overcoming Resolution Limits in MDL Community Detection
ESE535: Electronic Design Automation
Lecture 10: Graphs Graph Terminology Special Types of Graphs
Agenda Review Lecture Content: Shortest Path Algorithm
Communication Driven Remapping of Processing Element (PE) in Fault-tolerant NoC-based MPSoCs Chia-Ling Chen, Yen-Hao Chen and TingTing Hwang Department.
Locality In Distributed Graph Algorithms
Presentation transcript:

A New Force-Directed Graph Drawing Method Based on Edge- Edge Repulsion Chun-Cheng Lin and Hsu-Chen Yen Department of Electrical Engineering, National Taiwan University, Taiwan, R.O.C.

Outline Introduction and motivations Model of edge-edge repulsion Implementation and experimental results Conclusion

Force-directed graph drawing method An energy model is associated with the graph Low energy states correspond to nice layouts Hence, the drawing algorithm is an optimization process Initial (random) layoutFinal (nice) layoutIteration 1:Iteration 2:Iteration 3:Iteration 4:Iteration 5:Iteration 6:Iteration 7:Iteration 8:Iteration 9: Aesthetical properties Proximity preservation: similar nodes are drawn closely Symmetry preservation: isomorphic sub-graphs are drawn identically No external influences: “ Let the graph speak for itself ” ( This slide comes from Yehuda Harel )

Motivations (1/2) The force-directed methods can be categorized according to the types of repulsion vertexedge vertex edge X ( vertex-vertex repulsion ) 1.1. Eades, Fruchterman & Reingold, 1991 X ( vertex-edge repulsion ) 2.1. Davidson & Harel, Bertault, 1999 the same ( edge-vertex repulsion ) edge-edge repulsion

1.1. Vertex-Vertex Repulsion ( Eades, 1984 ) Model of Vertex-Vertex Repulsion –Nodes → charged rings → repulsive force –Edges → springs → attractive force Properties –The drawing has a high degree of symmetry and uniform edge length let go!

1.2. Vertex-Vertex Repulsion ( ) 1.2. Vertex-Vertex Repulsion ( Fruchterman & Reingold, 1991) Eades’ force formulas –Hook’s law for spring forces f a ( x ) = K  ( x – d )  Modified formula –Newtonian law for repulsive forces f r ( x ) = K / r 2 FR proposed a more efficient version – –Locally consider vertex-vertex repulsion log ( x ) x C2C2

2.1. Vertex-Edge Repulsion ( Davidson & Harel, 1996 ) Drawing graphs using simulated annealing approach –Using the paradigm of simulated annealing (Kirkpatrick, Gelatt, and Vecchi, 1983) –Their approach tries to find an optimal configuration according to a cost function as follows: Penalize the vertex and edge that are too close to each other. ( vertex-edge repulsion ) Penalize the distance between two vertices. ( vertex-vertex repulsion )

2.2. Vertex-Edge Repulsion ( Bertault, 1999 ) A force-directed approach that preserves edge crossing properties –Theorem. Two edges cross in the final drawing iff these edges crossed on the initial layout #(crossings) = 5

Motivations (2/2) Def. Angular resolution –the smallest angle formed by two neighboring edges incident to the common vertex in straight line drawing –guaranteeing that arbitrarily small angles cannot be formed by adjacent edges The Zero Angular Resolution Problem –There exist at least two of the edges incident to the common vertex overlapping –Resulting in a bad drawing with edge-edge and vertex-edge crossings simultaneously –Classical force-directed method cannot guarantee the absence of any overlapping of edges incident to the common vertex Edge-edge overlapping vertex-edge overlapping initial final

Model of Edge-Edge Repulsion In each iteration: Step1. For each edge (spring), compute spring forces as Eades’, i.e. compute spring forces as Eades’, i.e. Step2. For each pair of neighboring edges, compute repulsive forces according to our model compute repulsive forces according to our model Step3. Adjust the position of every vertex according to the force acting on the vertex acting on the vertex C A B Every edge is replaced by a changed spring.

Intuition The magnitudes of the repulsive force due to the two edges and are –Positively correlated with the edge lengths –Negatively correlated with the included angle  C A B f1f1 f 2 = - f 1 f 11 f 12 

Potential Field Method Motion planning or Path planning ( Chuang and Ahuja, 1998) ( Chuang and Ahuja, 1998) S G C A B General formula of the repulsive force between two charged edges

Reasons to simplify the repulsive force formula We don’t use the general formulas of edge-edge repulsion because: –The formulas derived from potential fields appears to be a bit complicated and consequently require special care when implementing such a method. From a practical viewpoint, such a complication may not be needed for the purpose of drawing graphs. Therefore, by observing some characteristics of edge- edge repulsion and experimental results of potential fields method, we are able to derive a simplified version of repulsive forces.

Simulation on magnitude of force Force magnitude vs. edge length Force magnitude vs. the included angle 

Simulation on orientation of force the included angle  the included angle 

Simplified force formula The force can be calculated as: Note that f 1 has the advantage that f 1 is determined only by three parameters, facilitating a simple implementation of our drawing algorithm based upon edge-edge repulsion

Experimental Results (i) Larger angular resolution Preserve a high degree of symmetry and uniform edge length as the classical method

Experimental Results (ii) Hypercubes Because the model of edge-edge repulsion allows at least two vertices coinciding (although such drawings are improper), our approach may produce drawings with more symmetries.

Statistics The following is the statistics of the above experimental results with comparison of the classical method and our approach. Observing the column StdDev / AvgLen, i.e. the normalized standard deviation of edge lengths, our approach without costing more running time seems to have equal or more uniform edge length than the classical method. Observing the column `Angular resolution’, the classical method may have the problem of zero or few angular resolution, while our approach normally has larger angular resolution than the classical.

Local minimal problem Force-directed method suffers from the local minimal problem, in which the spring force may be too weak to spread the graph Both the classical method and our approach may not handle local minimal problem in some cases, so the following strategies can be applied: –Two-phase method First using the classical method and then using our method –Hybrid strategy Simultaneously using the classical method and our method –Adjusting parameters Parameters play important roles ( The figures shown in this slide comes from Yehuda Harel )

Conclusion A new force-directed method based on edge-edge repulsion for generating a straight-line drawing not only preserving the original properties of a high degree of symmetry and uniform edge length but also without zero angular resolution has been proposed and implemented Future work –To handle the local minimal problem Try to use multilevel techniques or optimal heuristics, such as simulated annealing, genetic algorithm, etc. –More experimental results on graphs of huge size and theoretical results on the power of the model of edge-edge repulsion

The End Thank you for your attention.