Skip to content
CircuitKitBy Crafter Lab
EditorGalleryLesson
← Back to collection
Example / led-series / geist-lightExpectation matched

Focus R1

Highlight only component R1; paths and bounds must not move.

focuscomponent
Actual core output / SVGled-series/focus-component-R1/geist-light
Focus R1Focus R1. D1: led, LED. R1: resistor, 330 Ω. V1: dc-source, 5 V. ground: D1.cathode connected to GND connected to V1.negative. series: D1.anode connected to R1.b. supply: R1.a connected to V1.positive. Drawing values only. LED forward voltage and current are not assumed. This is not a validated physical design.. Focus components: R1. Focus nets: none.

Scroll horizontally on smaller screens to inspect legible nodes and labels. No simulation is performed.

The original input stays intact, including invalid fields.

Open in editorDownload JSONDownload SVG ↓
Expected vs. actual

An inspectable result.

These checks compare the renderer outcome with the declared case expectation. The stress test also checks determinism, geometry, and connectivity.

Expected
Successful SVG render
Actual
SVG rendered0 diagnostics
Case check
Passed
Recipe / theme
LED series circuitgeist-light
The circuit graph, not its drawing

Electrical nodes & connectivity

Each net is one electrical node: the named endpoints below are connected. Component pins and external ports are endpoints. These counts are not the number of geometric junction dots or wire bends. No voltages, currents, or simulation results are inferred.

Components
3
Electrical nodes / nets
3
Component pins
6
External ports
1
Connected endpoints
7
Electrical nodes from normalized circuit.nets
Net / electrical nodeEndpointsConnected component pins and ports
ground3
  • D1.cathode
  • GND
  • V1.negative
series2
  • D1.anode
  • R1.b
supply2
  • R1.a
  • V1.positive
Structured feedback

Diagnostics / 0

No diagnostics. The renderer accepted this source and produced the figure above.

Original figure document · JSON
{
  "version": 1,
  "circuit": {
    "components": {
      "V1": {
        "type": "dc-source",
        "voltage": 5
      },
      "R1": {
        "type": "resistor",
        "resistance": 330
      },
      "D1": {
        "type": "led"
      }
    },
    "ports": {
      "GND": {
        "kind": "ground"
      }
    },
    "nets": {
      "supply": [
        "V1.positive",
        "R1.a"
      ],
      "series": [
        "R1.b",
        "D1.anode"
      ],
      "ground": [
        "D1.cathode",
        "V1.negative",
        "GND"
      ]
    }
  },
  "layout": {
    "preset": "led-series",
    "roles": {
      "supply": "V1",
      "resistor": "R1",
      "led": "D1",
      "ground": "GND"
    }
  },
  "presentation": {
    "title": "Focus R1",
    "theme": {
      "preset": "geist-light"
    },
    "highlight": {
      "components": [
        "R1"
      ],
      "nets": []
    }
  }
}
Expected outcome & actual diagnostics · JSON
{
  "id": "led-series/focus-component-R1/geist-light",
  "expectation": {
    "kind": "render"
  },
  "actual": {
    "ok": true,
    "diagnostics": []
  },
  "passed": true
}
Rendered bounds & renderer version · JSON
{
  "rendererVersion": "0.1.0",
  "bounds": {
    "x": 0,
    "y": 0,
    "width": 1000,
    "height": 600,
    "labels": {
      "title": {
        "x": 67.128,
        "y": 57.86,
        "width": 130.832,
        "height": 24.548000000000002
      },
      "subtitle": {
        "x": 64.3,
        "y": 104.11,
        "width": 347.265,
        "height": 13.320000000000007
      },
      "R1:id": {
        "x": 365.46,
        "y": 194.22,
        "width": 19.260000000000048,
        "height": 12.780000000000001
      },
      "R1:value": {
        "x": 340.2,
        "y": 217.576,
        "width": 70.58400000000006,
        "height": 17.807999999999993
      },
      "V1:id": {
        "x": 250.54,
        "y": 329.22,
        "width": 19.97999999999999,
        "height": 12.779999999999973
      },
      "V1:value": {
        "x": 251.44,
        "y": 352.96,
        "width": 41.04000000000002,
        "height": 17.424000000000035
      },
      "D1:id": {
        "x": 745.62,
        "y": 325.22,
        "width": 18.899999999999977,
        "height": 12.779999999999973
      },
      "D1:value": {
        "x": 746.4,
        "y": 348.96,
        "width": 39.888000000000034,
        "height": 17.04000000000002
      },
      "GND:port": {
        "x": 490.646,
        "y": 445.658,
        "width": 29.307999999999936,
        "height": 12.613999999999976
      },
      "formula": {
        "x": 66.116,
        "y": 518.647,
        "width": 207.57500000000005,
        "height": 20.07899999999995
      },
      "assumption": {
        "x": 65.288,
        "y": 556.046,
        "width": 562.7720000000003,
        "height": 12.22199999999998
      }
    },
    "symbols": {
      "R1": {
        "x": 303.5,
        "y": 254.5,
        "width": 143,
        "height": 31
      },
      "V1": {
        "x": 146.5,
        "y": 298.5,
        "width": 67,
        "height": 103
      },
      "D1": {
        "x": 630.5,
        "y": 308.5,
        "width": 75,
        "height": 83
      },
      "GND": {
        "x": 419.5,
        "y": 438.5,
        "width": 41,
        "height": 27
      }
    },
    "routes": {
      "supply": [
        {
          "x": 178.5,
          "y": 268.5,
          "width": 3,
          "height": 33
        },
        {
          "x": 178.5,
          "y": 268.5,
          "width": 128,
          "height": 3
        }
      ],
      "series": [
        {
          "x": 443.5,
          "y": 268.5,
          "width": 208,
          "height": 3
        },
        {
          "x": 648.5,
          "y": 268.5,
          "width": 3,
          "height": 43
        }
      ],
      "ground": [
        {
          "x": 648.5,
          "y": 388.5,
          "width": 3,
          "height": 53
        },
        {
          "x": 178.5,
          "y": 438.5,
          "width": 473,
          "height": 3
        },
        {
          "x": 178.5,
          "y": 398.5,
          "width": 3,
          "height": 43
        }
      ]
    }
  }
}
← Previous exampleFocus V1geist-printNext example →Focus R1geist-dark
CircuitKit · By Crafter Lab

A drawing tool, not simulation, electrical-safety approval, or a fabrication system.

Apache-2.0Source on GitHub ↗