Skip to content

lleewwiiss/Spring-Graph-Layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Graph Layout

A spring graph layout algorithm written in C++ using Hooke's Law and Coloumb's Law to
model force interactions, adjust constants in equations for different looking final graphs

Spring

Usage: spring test_file

Will output a series of frames which represent the node configuration at each interval.

Genvis

Usage: genvis.py test_file

Takes the output files from Spring and converts them into a movie file to visualise how the graph is moved over time

Gentest

Usage: gentest.py
Takes user input and randomly generates a test files to be used for spring.cpp
Frames:100
Nodes:100
Edges:2

Example output 100 nodes 100 frames 2 edges

100 nodes

About

Spring Graph Layout C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published