https://github.com/ndimensional/andromeda
High-performance graph layout engine
https://github.com/ndimensional/andromeda
Last synced: 11 months ago
JSON representation
High-performance graph layout engine
- Host: GitHub
- URL: https://github.com/ndimensional/andromeda
- Owner: nDimensional
- License: gpl-3.0
- Created: 2024-02-15T18:49:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T18:08:34.000Z (over 1 year ago)
- Last Synced: 2024-11-12T19:20:16.368Z (over 1 year ago)
- Language: Zig
- Homepage:
- Size: 246 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Andromeda
Andromeda is a high-performance force-directed graph layout engine written in Zig using GTK and OpenGL.

Zig version `0.14.1`.
```
$ zig build run -Doptimize=ReleaseFast
```
Your SQLite database should have a schema that looks like this:
```sql
CREATE TABLE nodes(
id INTEGER PRIMARY KEY NOT NULL,
x FLOAT NOT NULL DEFAULT 0,
y FLOAT NOT NULL DEFAULT 0
);
CREATE TABLE edges(
source INTEGER NOT NULL REFERENCES nodes(id),
target INTEGER NOT NULL REFERENCES nodes(id)
);
```