use `convertCircuitJsonToSchematicSimulationSvg` from circuit-to-svg, you may also reference this PR for usage: https://github.com/tscircuit/schematic-viewer/pull/151