Skip to main content

Module graph

Module graph 

Source
Expand description

Phase 1: Directed graph construction from the .pedal netlist.

Builds a LayoutGraph where each component is a node and each net creates edges between the components it connects. Edge direction is inferred from component type and pin function (e.g., triode grid = input, plate = output).

Structs§

LayoutEdge
A directed edge between two layout nodes.
LayoutGraph
Directed graph built from the .pedal netlist for layout purposes.
LayoutNode
A node in the layout graph (one per component + special anchor nodes).
NetGroup
A group of pins that are all connected (one electrical net).

Enums§

PinDirection
Inferred direction for a component pin (used by layout).