Linnet · latest

Build your first Linnet graph

Linnet’s half-edge graph model is available through three surfaces. Choose the language that owns the graph in your workflow; the same concepts—paired internal half-edges, explicit boundaries, typed identifiers, and validated topology—carry across them.

Rust
Use the published linnet crate when a Rust application owns graph construction, algorithms, or serialization. This is the most complete and thoroughly tested interface.

Use Linnet from Rust →

Python
Use symbolica.community.graph for DOT-backed graph inspection and algorithms from Python. Install the complete Symbolica Community assembly or this checkout’s combined notebook host.

Use Linnet from Python →

Typst
Use Linnest when a Typst document owns graph construction, layout, and the final CeTZ drawing. The package is currently bundled with the repository rather than Typst Universe.

Use Linnet from Typst →

Begin with Rust for application code, Python for an existing Python graph workflow, or Typst when the desired result is an editable figure. The interface guide explains where layout, rendering, and interchange belong.