/Spring-Graph-Layout

Spring Graph Layout C++

Primary LanguageC++MIT LicenseMIT

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