layout

command
v0.0.0-...-0fd49de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Command layout computes 2-D positions for the dependency-graph galaxy. It loads the buildgraph node/edge tables, keeps the giant weakly- connected component (optionally thinned to a minimum in-degree for fast development runs), and runs ForceAtlas2 with Barnes-Hut repulsion, the standard layout for large scale-free networks.

The run is deterministic (seeded init, fixed reduction order), parallel across cores, and checkpointed: positions are written every -checkpoint-every iterations together with a PNG preview, so a long run can be watched and resumed (-resume) after interruption.

Output (in -out):

positions.bin  kept-node positions, 2 * float32 little-endian each
kept.tsv       kept index (line number) -> original node id
meta.json      node/edge counts and the exact parameters used
preview.png    additive scatter render of the current positions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL