Force Directed Algorithm Adel Alshayji 4/28/2005.

Slides:



Advertisements
Similar presentations
Reactive and Potential Field Planners
Advertisements

Graph Visualization and Navigation in Information Visualization: A Survey Ivan Herman, Guy Melaneon, M. Scott Marshall.
Planar graphs Algorithms and Networks. Planar graphs2 Can be drawn on the plane without crossings Plane graph: planar graph, given together with an embedding.
L30: Partitioning 성균관대학교 조 준 동 교수
ECE 667 Synthesis and Verification of Digital Circuits
Cluster Analysis: Basic Concepts and Algorithms
1 CSE 980: Data Mining Lecture 16: Hierarchical Clustering.
Hierarchical Clustering. Produces a set of nested clusters organized as a hierarchical tree Can be visualized as a dendrogram – A tree-like diagram that.
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.
Data Mining Cluster Analysis: Basic Concepts and Algorithms
Force-Directed Methods
The Mathematics of Force- Directed Placement Simulating Graphs as Physical Systems To Assist in Computer Chip Layout By Jamey Lewis, St. Michael’s College.
Activity relationship analysis
SVG Graph Browsers Data Visualization and Exploration With Directed Graphs in SVG.
Hierarchical Decompositions for Congestion Minimization in Networks Harald Räcke 1.
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.
Snakes - Active Contour Lecturer: Hagit Hel-Or
Two Technique Papers on High Dimensionality Allan Rempel December 5, 2005.
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
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.
1 Processing & Analysis of Geometric Shapes Shortest path problems Shortest path problems The discrete way © Alexander & Michael Bronstein, ©
Geometric reasoning about mechanical assembly By Randall H. Wilson and Jean-Claude Latombe Henrik Tidefelt.
A New Force-Directed Graph Drawing Method Based on Edge- Edge Repulsion Chun-Cheng Lin and Hsu-Chen Yen Department of Electrical Engineering, National.
Interconnect Estimation without Packing via ACG Floorplans Jia Wang and Hai Zhou Electrical & Computer Engineering Northwestern University U.S.A.
HCS Clustering Algorithm
HY Force-Directed Techniques - Circular Drawings Ανδρέου Δημήτρης.
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
SIMS 247: Information Visualization and Presentation jeffrey heer
Force Directed Algorithm Adel Alshayji 4/28/2005.
Chapter 5: Path Planning Hadi Moradi. Motivation Need to choose a path for the end effector that avoids collisions and singularities Collisions are easy.
Clustering Unsupervised learning Generating “classes”
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
VISUALIZATION - 10 Pavel Slavík. ENV The Screen Space Problem All techniques, sooner or later, run out of screen space Parallel co-ordinates.
A Survey on Graph Visualization 1 Presented by Yang Zhang Dave Fuhry.
Algorithms for drawing large graphs
Lecture 12: Network Visualization Slides are modified from Lada Adamic, Adam Perer, Ben Shneiderman, and Aleks Aris.
Cluster Analysis Part II. Learning Objectives Hierarchical Methods Density-Based Methods Grid-Based Methods Model-Based Clustering Methods Outlier Analysis.
New method to optimize Force-directed layouts of large graphs Meva DODO, Fenohery ANDRIAMANAMPISOA, Patrice TORGUET, Jean Pierre JESSEL IRIT University.
May 1, 2002Applied Discrete Mathematics Week 13: Graphs and Trees 1News CSEMS Scholarships for CS and Math students (US citizens only) $3,125 per year.
Representing and Using Graphs
Bounds on the Geometric Mean of Arc Lengths for Bounded- Degree Planar Graphs M. K. Hasan Sung-eui Yoon Kyung-Yong Chwa KAIST, Republic of Korea.
Data Reduction. 1.Overview 2.The Curse of Dimensionality 3.Data Sampling 4.Binning and Reduction of Cardinality.
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.
Semantic Wordfication of Document Collections Presenter: Yingyu Wu.
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
Slides for Parallel Programming Techniques & Applications Using Networked Workstations & Parallel Computers 2nd ed., by B. Wilkinson & M
Spectral Sequencing Based on Graph Distance Rong Liu, Hao Zhang, Oliver van Kaick {lrong, haoz, cs.sfu.ca {lrong, haoz, cs.sfu.ca.
Minimum Spanning Trees CS 146 Prof. Sin-Min Lee Regina Wang.
CS270 Project Overview Maximum Planar Subgraph Danyel Fisher Jason Hong Greg Lawrence Jimmy Lin.
Visualizing LiveNet with ENCCON Model Quang Vinh Nguyen Computer Systems Department Faculty of Information Technology University of Technology, Sydney.
Gene expression & Clustering. Determining gene function Sequence comparison tells us if a gene is similar to another gene, e.g., in a new species –Dynamic.
CS 8751 ML & KDDData Clustering1 Clustering Unsupervised learning Generating “classes” Distance/similarity measures Agglomerative methods Divisive methods.
Example Apply hierarchical clustering with d min to below data where c=3. Nearest neighbor clustering d min d max will form elongated clusters!
Visualization of Biological Information with Circular Drawings.
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.
All-to-All Pattern A pattern where all (slave) processes can communicate with each other Somewhat the worst case scenario! 1 ITCS 4/5145 Parallel Computing,
18 Aug, 2009University of EdinburghIstván Juhos 1 /23 Graph Colouring through Clustering István Juhos University of Szeged Hungary.
Algorithms and Networks
Applied Discrete Mathematics Week 15: Trees
CS475 3D Game Development Level Of Detail Nodes (LOD)
SDE: Graph Drawing Using Spectral Distance Embedding
Using Multilevel Force-Directed Algorithm to Draw Large Clustered Graph 研究生: 何明彥 指導老師:顏嗣鈞 教授 2018/12/4 NTUEE.
Challenges in Visualizing Knowledge and Metadata
All-to-All Pattern A pattern where all (slave) processes can communicate with each other Somewhat the worst case scenario! ITCS 4/5145 Parallel Computing,
Scale-Space Representation for Matching of 3D Models
And the Final Subject is…
Data Mining CSCI 307, Spring 2019 Lecture 24
Presentation transcript:

Force Directed Algorithm Adel Alshayji 4/28/2005

What is Force Directed Algorithm? Force directed algorithms view the graph as a virtual physical system. The nodes of the graph are bodies of the system. These bodies have forces acting on or between them. These forces are physics-based, and therefore have a natural analogy, such as magnetic repulsion or gravitational attraction.

Example This series of images show a graph drawing from a random layout to the final aesthetically pleasant drawing of the graph.

What is used for? The force directed layouts is use of force directed algorithms for drawing large graphs.

Exemple In this graph, the edges can be modeled as gravitational attraction and all nodes have an electrical repulsion between them.

How this Algorithm work? Regardless of the exact nature of the forces in the virtual physical system, force directed algorithms aim to compute a locally minimum energy layout of the nodes. This is usually achieved by computing the forces on each node and iterating the system in discrete time steps. The forces are applied to each node and the positions are updated accordingly.

Where they use this Algorithm? Force-directed algorithms are often used in graph drawing due to their flexibility, ease of implementation, and the aesthetically pleasant drawings they produce. However, classical force directed algorithms are unable to handle larger graphs due the inherent N squared cost at each time step. Where N is the number of bodies in the system. The FADE layout paradigm, overcomes this computational limitation to allow large graphs to be drawn and abstractly represented

Force-directed graph drawing Which layout is nicer? An energy model is associated with the graph layouts. Low energy states correspond to nice layouts Energy: 1.77x Energy: 2.23x10 6

Layout Energy Force-directed graph drawing Graph drawing = Energy minimization Hence, the drawing algorithm is an iterative 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” Convergence to global minimum is not guaranteed!

What is FADE Paradigm? In the FADE paradigm, we take the graph layout and perform a geometric clustering (typically by recursive space decomposition) of the locations of the nodes. This process, along with implied edge creation, forms a hierarchical compound graph.

How it is work? Compute Initial Layout REPEAT Compute Edge Forces Construct Geometric Clustering FOR each node V Compute Approximate Non-edga Forces on V END FOR Move Nodes Update Bounding Area/Volume UNTIL Stopping Condition END

Performance Improvement The performance improvement in the FADE paradigm comes from : Compute forces using recursive decomposition for the locations of the nodes, rather than using all the nodes directly. Different decompositions generate recursive geometric clustering of the nodes of the graph. The recursive clustering does facilitate a dramatic improvement in the performance of force directed algorithms. It allows for multi-level viewing of huge graphs at various levels of abstraction. As the quality of the drawing improves, the quality of clustering, exhibited by the decomposition tree, improves to a reasonable amount. This clustering helps in visual abstraction, when it has sufficient quality.

Example of F.D. method: Spring Embedder [Eades84, Fruchterman-Reingold91] Replace edges with springs (zero rest length) -- - attractive forces Replace vertices with electrically charged particles, repelling each other --- repulsive forces Start with a random placement of the vertices, then just let the system go…

“let go” [Kaufmann and Wagner, 2001] Example of spring method

Animated Example for spring method

Example in 3D [Carmel,Harel,Koren’02]ACE

Outline of this talk Force directed methods and large graphs Multi-scale acceleration of force directed methods Hall’s graph drawing method (a particular force-directed method) ACE: a multi-scale acceleration of Hall’s method High dimensional embedding: a new approach to graph drawing Examples and comparison Force directed Hall ACE No. of nodes drawn in a minute Multi-scale High Embedding

Scaling with large graphs Traditional force-directed methods are limited to a few hundred nodes Problems when drawing large graphs: –Visualization issue: not enough drawing area Cures: dynamic navigation, clustering, fish-eye view, hyperbolic space,… –Algorithmic issue: convergence to a nice layout is too slow We concentrate on the algorithmic issue, i.e., the computational complexity (mainly time).

Force-directed methods: complexity Complexity per single iteration is O(n2) –Energy contains at least one term for each node pair (repulsive forces) Estimated number of iterations to convergence is O(n) Overall time complexity is ~ O(n3) Force directed methods do not scale up well to large graphs!