← Back to collection
Example / led-series / geist-darkExpectation matched
Focus D1
Highlight only component D1; paths and bounds must not move.
Scroll horizontally on smaller screens to inspect legible nodes and labels. No simulation is performed.
The original input stays intact, including invalid fields.
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-dark
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
| Net / electrical node | Endpoints | Connected component pins and ports |
|---|---|---|
ground | 3 |
|
series | 2 |
|
supply | 2 |
|
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 D1",
"theme": {
"preset": "geist-dark"
},
"highlight": {
"components": [
"D1"
],
"nets": []
}
}
}Expected outcome & actual diagnostics · JSON
{
"id": "led-series/focus-component-D1/geist-dark",
"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": 131.57999999999998,
"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
}
]
}
}
}