SlideShare ist ein Scribd-Unternehmen logo
1 von 37
F O R C E - D I R E C T E D
L AY O U T
A L L E G R O L A Y O U T T U T O R I A L
AllegroLayout
allegroviva.com/allegrolayout
1. simulates a graph as a physical system
which assigns forces into edges and
nodes.
2. finds an equilibrium or steady state.
AllegroLayout
F O R C E - D I R E C T E D
L AY O U T
AllegroLayout
F O R C E M O D E L
N O D E N O D E
E D G E AT T R A C T I O N
N O D E R E P U L S I O N
E D G E
AllegroLayout
F O R C E M O D E L
N O D E N O D E
E D G E AT T R A C T I O N
N O D E R E P U L S I O N
AllegroLayout
F O R C E M O D E L
N O D E N O D E
E D G E AT T R A C T I O N
N O D E R E P U L S I O N
AllegroLayout
F O R C E M O D E L
N O D E N O D E
E D G E AT T R A C T I O N
N O D E R E P U L S I O N
AllegroLayout
A S T E P O F L AY O U T I T E R AT I O N
1. Calculate all forces of each node.
• Connected nodes only attract each other.
• Every node repels other nodes.
AllegroLayout
A S T E P O F L AY O U T I T E R AT I O N
2. Summate the forces of each node, respectively.
AllegroLayout
A S T E P O F L AY O U T I T E R AT I O N
3. Calculate the final forces of the nodes.
AllegroLayout
A S T E P O F L AY O U T I T E R AT I O N
4. Move the nodes by the current time step size.
AllegroLayout
E N E R G Y M I N I M I S AT I O N
Repeat the iteration until the graph is in an equilibrium or steady state.
AllegroLayout
E N E R G Y M I N I M I S AT I O N
Repeat the iteration until the graph is in an equilibrium or steady state.
AllegroLayout
E N E R G Y M I N I M I S AT I O N
Repeat the iteration until the graph is in an equilibrium or steady state.
AllegroLayout
E N E R G Y M I N I M I S AT I O N
Repeat the iteration until the graph is in an equilibrium or steady state.
AllegroLayout
R E A L E X A M P L E http://youtu.be/JtnxtniuxEw
AllegroLayout
L AY O U T F O R C E M O D E L S
• Spring-Electric Layout
• Fruchterman-Reingold Layout
• Weak Clustering Layout
• Strong Clustering Layout
AllegroLayout
• Spring-Electric Layout
• Fruchterman-Reingold Layout
• Weak Clustering Layout
• Strong Clustering Layout
N O D E : C H A R G E D PA RT I C L E
E D G E : S P R I N G
Edges have more or less uniform length.
L AY O U T F O R C E M O D E L S
AllegroLayout
• Spring-Electric Layout
• Fruchterman-Reingold Layout
• Weak Clustering Layout
• Strong Clustering Layout
similar to the Spring-Electric, but nodes have
stronger repulsive force from distant nodes.
L AY O U T F O R C E M O D E L S
AllegroLayout
• Spring-Electric Layout
• Fruchterman-Reingold Layout
• Weak Clustering Layout
• Strong Clustering Layout
The highly connected group of nodes gets
closer. You can see clusters more clearly.
L AY O U T F O R C E M O D E L S
C L U S T E R S
AllegroLayout
• Spring-Electric Layout
• Fruchterman-Reingold Layout
• Weak Clustering Layout
• Strong Clustering Layout
Nodes in a cluster get much closer. This layout
focuses more on showing clusters and their
relationship.
L AY O U T F O R C E M O D E L S
AllegroLayout
R E A L E X A M P L E S
S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T
W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
AllegroLayout
R E A L E X A M P L E S
S P R I N G - E L E C T R I C L AY O U T
Edges are almost
uniform in length.
AllegroLayout
R E A L E X A M P L E S
S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T
W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
AllegroLayout
R E A L E X A M P L E S
F R U C H T E R M A N - R E I N G O L D L AY O U T
Less connected nodes have
relatively stronger repulsive
force from near and distant
nodes.
AllegroLayout
R E A L E X A M P L E S
S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T
W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
AllegroLayout
R E A L E X A M P L E S
W E A K C L U S T E R I N G L AY O U T
Highly interconnected
group of nodes get
together. Clusters can
be seen more easily.
AllegroLayout
R E A L E X A M P L E S
S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T
W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
AllegroLayout
R E A L E X A M P L E S
S T R O N G C L U S T E R I N G L AY O U T
This layout binds clustered
nodes more tightly, while
the distances between
clusters are increased.
AllegroLayout
R E A L E X A M P L E S
S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T
W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
AllegroLayout
C O N V E N T I O N A L L AY O U T S
S P R I N G - E L E C T R I C
More interconnected nodes get closer
because they have more edge attraction.
AllegroLayout
E D G E - R E P U L S I V E L AY O U T S
E D G E - R E P U L S I V E
S P R I N G - E L E C T R I C S P R I N G - E L E C T R I C
Nodes having more edges repel
other nodes more strongly.
More interconnect nodes get closer
because they have stronger edge attraction.
AllegroLayout
E D G E - R E P U L S I V E L AY O U T S
E D G E - R E P U L S I V E
S P R I N G - E L E C T R I C
It is useful for a graph having
densely connected nodes.
More interconnect nodes get closer
because they have stronger edge attraction.
AllegroLayout
R E A L E X A M P L E S
: S P R I N G - E L E C T R I C L AY O U T
E D G E - R E P U L S I V E C O N V E N T I O N A L
AllegroLayout
R E A L E X A M P L E S
: F R U C H T E R M A N - R E I N G O L D
E D G E - R E P U L S I V E C O N V E N T I O N A L
AllegroLayout
R E A L E X A M P L E S
: W E A K C L U S T E R I N G L AY O U T
E D G E - R E P U L S I V E C O N V E N T I O N A L
AllegroLayout
R E A L E X A M P L E S
: S T R O N G C L U S T E R I N G L AY O U T
E D G E - R E P U L S I V E C O N V E N T I O N A L
allegroviva.com/allegrolayout
AllegroLayout
O P E N C L - A C C E L E R AT E D
H I G H - Q U A L I T Y G R A P H L AY O U T S

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfYashikaSharma391629
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...Akihiro Suda
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 

Kürzlich hochgeladen (20)

Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 

Empfohlen

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Empfohlen (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Force-Directed Layout Tutorial « AllegroLayout | OpenCL Graph Layout Plugin

  • 1. F O R C E - D I R E C T E D L AY O U T A L L E G R O L A Y O U T T U T O R I A L AllegroLayout allegroviva.com/allegrolayout
  • 2. 1. simulates a graph as a physical system which assigns forces into edges and nodes. 2. finds an equilibrium or steady state. AllegroLayout F O R C E - D I R E C T E D L AY O U T
  • 3. AllegroLayout F O R C E M O D E L N O D E N O D E E D G E AT T R A C T I O N N O D E R E P U L S I O N E D G E
  • 4. AllegroLayout F O R C E M O D E L N O D E N O D E E D G E AT T R A C T I O N N O D E R E P U L S I O N
  • 5. AllegroLayout F O R C E M O D E L N O D E N O D E E D G E AT T R A C T I O N N O D E R E P U L S I O N
  • 6. AllegroLayout F O R C E M O D E L N O D E N O D E E D G E AT T R A C T I O N N O D E R E P U L S I O N
  • 7. AllegroLayout A S T E P O F L AY O U T I T E R AT I O N 1. Calculate all forces of each node. • Connected nodes only attract each other. • Every node repels other nodes.
  • 8. AllegroLayout A S T E P O F L AY O U T I T E R AT I O N 2. Summate the forces of each node, respectively.
  • 9. AllegroLayout A S T E P O F L AY O U T I T E R AT I O N 3. Calculate the final forces of the nodes.
  • 10. AllegroLayout A S T E P O F L AY O U T I T E R AT I O N 4. Move the nodes by the current time step size.
  • 11. AllegroLayout E N E R G Y M I N I M I S AT I O N Repeat the iteration until the graph is in an equilibrium or steady state.
  • 12. AllegroLayout E N E R G Y M I N I M I S AT I O N Repeat the iteration until the graph is in an equilibrium or steady state.
  • 13. AllegroLayout E N E R G Y M I N I M I S AT I O N Repeat the iteration until the graph is in an equilibrium or steady state.
  • 14. AllegroLayout E N E R G Y M I N I M I S AT I O N Repeat the iteration until the graph is in an equilibrium or steady state.
  • 15. AllegroLayout R E A L E X A M P L E http://youtu.be/JtnxtniuxEw
  • 16. AllegroLayout L AY O U T F O R C E M O D E L S • Spring-Electric Layout • Fruchterman-Reingold Layout • Weak Clustering Layout • Strong Clustering Layout
  • 17. AllegroLayout • Spring-Electric Layout • Fruchterman-Reingold Layout • Weak Clustering Layout • Strong Clustering Layout N O D E : C H A R G E D PA RT I C L E E D G E : S P R I N G Edges have more or less uniform length. L AY O U T F O R C E M O D E L S
  • 18. AllegroLayout • Spring-Electric Layout • Fruchterman-Reingold Layout • Weak Clustering Layout • Strong Clustering Layout similar to the Spring-Electric, but nodes have stronger repulsive force from distant nodes. L AY O U T F O R C E M O D E L S
  • 19. AllegroLayout • Spring-Electric Layout • Fruchterman-Reingold Layout • Weak Clustering Layout • Strong Clustering Layout The highly connected group of nodes gets closer. You can see clusters more clearly. L AY O U T F O R C E M O D E L S C L U S T E R S
  • 20. AllegroLayout • Spring-Electric Layout • Fruchterman-Reingold Layout • Weak Clustering Layout • Strong Clustering Layout Nodes in a cluster get much closer. This layout focuses more on showing clusters and their relationship. L AY O U T F O R C E M O D E L S
  • 21. AllegroLayout R E A L E X A M P L E S S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
  • 22. AllegroLayout R E A L E X A M P L E S S P R I N G - E L E C T R I C L AY O U T Edges are almost uniform in length.
  • 23. AllegroLayout R E A L E X A M P L E S S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
  • 24. AllegroLayout R E A L E X A M P L E S F R U C H T E R M A N - R E I N G O L D L AY O U T Less connected nodes have relatively stronger repulsive force from near and distant nodes.
  • 25. AllegroLayout R E A L E X A M P L E S S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
  • 26. AllegroLayout R E A L E X A M P L E S W E A K C L U S T E R I N G L AY O U T Highly interconnected group of nodes get together. Clusters can be seen more easily.
  • 27. AllegroLayout R E A L E X A M P L E S S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
  • 28. AllegroLayout R E A L E X A M P L E S S T R O N G C L U S T E R I N G L AY O U T This layout binds clustered nodes more tightly, while the distances between clusters are increased.
  • 29. AllegroLayout R E A L E X A M P L E S S P R I N G - E L E C T R I C L AY O U T F R U C H T E R M A N - R E I N G O L D L AY O U T W E A K C L U S T E R I N G L AY O U T S T R O N G C L U S T E R I N G L AY O U T
  • 30. AllegroLayout C O N V E N T I O N A L L AY O U T S S P R I N G - E L E C T R I C More interconnected nodes get closer because they have more edge attraction.
  • 31. AllegroLayout E D G E - R E P U L S I V E L AY O U T S E D G E - R E P U L S I V E S P R I N G - E L E C T R I C S P R I N G - E L E C T R I C Nodes having more edges repel other nodes more strongly. More interconnect nodes get closer because they have stronger edge attraction.
  • 32. AllegroLayout E D G E - R E P U L S I V E L AY O U T S E D G E - R E P U L S I V E S P R I N G - E L E C T R I C It is useful for a graph having densely connected nodes. More interconnect nodes get closer because they have stronger edge attraction.
  • 33. AllegroLayout R E A L E X A M P L E S : S P R I N G - E L E C T R I C L AY O U T E D G E - R E P U L S I V E C O N V E N T I O N A L
  • 34. AllegroLayout R E A L E X A M P L E S : F R U C H T E R M A N - R E I N G O L D E D G E - R E P U L S I V E C O N V E N T I O N A L
  • 35. AllegroLayout R E A L E X A M P L E S : W E A K C L U S T E R I N G L AY O U T E D G E - R E P U L S I V E C O N V E N T I O N A L
  • 36. AllegroLayout R E A L E X A M P L E S : S T R O N G C L U S T E R I N G L AY O U T E D G E - R E P U L S I V E C O N V E N T I O N A L
  • 37. allegroviva.com/allegrolayout AllegroLayout O P E N C L - A C C E L E R AT E D H I G H - Q U A L I T Y G R A P H L AY O U T S