https://github.com/fogleman/graphlayout
Graph drawing using simulated annealing for layout.
https://github.com/fogleman/graphlayout
Last synced: 27 days ago
JSON representation
Graph drawing using simulated annealing for layout.
- Host: GitHub
- URL: https://github.com/fogleman/graphlayout
- Owner: fogleman
- License: mit
- Created: 2014-02-17T03:50:12.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T16:23:35.000Z (almost 9 years ago)
- Last Synced: 2026-01-29T13:43:46.722Z (about 2 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 118
- Watchers: 3
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## GraphLayout
Graph drawing using simulated annealing for layout.
### Input
path = 'output.png'
size = 800
edges = [
(1, 2), (1, 3), (1, 4), (2, 4), (2, 5), (3, 6),
(4, 3), (4, 6), (4, 7), (5, 4), (5, 7), (7, 6),
]
create_bitmap(path, size, edges)
### Output
