This project is my implementation of Kamada-Kawai graph drawing algorithm
Let's say we have a distance
How are we going to achevie that? Well, first of all, let's create
Also, let's introduce
So, what we want to do now is to punish the system for it's edges being not the right lenght, exactly, if we have determened positions
Let's sum this energy for all unordere pairs of vericies, and get the total energy of the system. Now we just need to minimize the total energy. Some say, Newton-Raphson method is applicable here. But i find it better to use gradient desend method.
This project is implemented in modular programming style. It has a module generate_graph, that generates a graph in
Well, this repository works out of the box for different platforms(Yes i am a genius). So no need for containerezation. Just do
git clone https://github.com/vladimirevmenoff/graph_drawing