An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Andromeda

Andromeda is a high-performance force-directed graph layout engine written in Zig using GTK and OpenGL.

![](./assets/graph-1e6.png)

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)
);
```