Skip to main content

generate_layout

Function generate_layout 

Source
pub fn generate_layout(pedal: &PedalDef, width: f32, height: f32) -> Layout
Expand description

Generate a complete schematic layout from a parsed pedal definition.

This is the main entry point. It runs all six layout phases and returns a Layout that can be serialized to .pedal_layout JSON or exported to KiCad .kicad_sch format.