Skip to content

Instantly share code, notes, and snippets.

View Huta2018's full-sized avatar

Huta R Banjade Huta2018

View GitHub Profile
@Huta2018
Huta2018 / spring.py
Created February 3, 2020 16:14 — forked from ptrv/spring.py
Simple force directed graph drawing algorithm
#!/usr/bin/env python
# Force-Directed Graph Drawing
import Tkinter
import random
import math
# d = [
# [.0, .3, .3, .0],