@tscircuit/schematic-viewer 2.0.91 → 2.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,3 +19,17 @@ export default () => (
19
19
  />
20
20
  )
21
21
  ```
22
+
23
+ Right-click a schematic and select **Run Style Analysis** to analyze the current
24
+ Circuit JSON across all sheets. A modal displays one annotated SVG per placement
25
+ or style issue, or a message when no issues are found. Analysis runs locally in
26
+ the browser and loads on demand. Close the modal and run the command again after
27
+ editing the circuit to get fresh results.
28
+
29
+ The analyzer is fetched at runtime from
30
+ `https://jscdn.tscircuit.com/@tscircuit/circuit-json-schematic-placement-analysis/latest/dist/browser.js`.
31
+ It is not included in the viewer bundle. This requires a published analyzer
32
+ release and network access to jscdn; the host page's Content Security Policy must
33
+ allow scripts from that origin. jscdn caches `latest` for up to ten minutes, and
34
+ the browser reuses an imported module until the page reloads. Circuit JSON stays
35
+ in the browser. The analyzer's GitHub dev dependency is used only by tests.