[go: nahoru, domu]

Skip to content

To simulate the forces between nodes in a graph to layout them in the canvas.

License

Notifications You must be signed in to change notification settings

ramin-vakili/force_directed_graph

Repository files navigation

Flutter Force-Directed Algorithm Simulation

Overview

This Flutter project is an implementation of a Force-Directed Algorithm to simulate the behavior of particles in a virtual environment.

Key Features

  • Attractive Force to the Center: Each particle is attracted to the center of the screen, creating a captivating central focal point.

  • Repulsive Forces Between Particles: Particles naturally repel each other when they get too close, simulating the way real-world particles interact.

  • Attractive Edges: The edges connecting particles exert an attractive force, ensuring that particles stay connected and move together as interconnected communities.

Demo

Demo

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

Installation

  1. Clone this repository:

    git clone https://github.com/ramin-vakili/force_directed_graph.git 
    
  2. Navigate to the project:

    cd foce_directed_graph
    
  3. Install dependencies:

    flutter pub get
    
  4. Run

    flutter run

About

To simulate the forces between nodes in a graph to layout them in the canvas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published