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

Author-selected IDs

Short component, terminal and net IDs are preserved through rendering and inspection.

IDsconnectivity
Actual core output / SVGled-series/custom-ids/geist-print
Author-selected IDsAuthor-selected IDs. Da: led, LED. Ra: resistor, 330 Ω. Vs: dc-source, 5 V. fuente: Ra.a connected to Vs.positive. rama: Da.anode connected to Ra.b. retorno: Da.cathode connected to REF connected to Vs.negative. Drawing values only. LED forward voltage and current are not assumed. This is not a validated physical design.. Focus components: none. 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-print
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
fuente2
  • Ra.a
  • Vs.positive
rama2
  • Da.anode
  • Ra.b
retorno3
  • Da.cathode
  • REF
  • Vs.negative
Structured feedback

Diagnostics / 0

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

Original figure document · JSON
{
  "version": 1,
  "circuit": {
    "components": {
      "Vs": {
        "type": "dc-source",
        "voltage": 5
      },
      "Ra": {
        "type": "resistor",
        "resistance": 330
      },
      "Da": {
        "type": "led"
      }
    },
    "ports": {
      "REF": {
        "kind": "ground"
      }
    },
    "nets": {
      "fuente": [
        "Vs.positive",
        "Ra.a"
      ],
      "rama": [
        "Ra.b",
        "Da.anode"
      ],
      "retorno": [
        "Da.cathode",
        "Vs.negative",
        "REF"
      ]
    }
  },
  "layout": {
    "preset": "led-series",
    "roles": {
      "supply": "Vs",
      "resistor": "Ra",
      "led": "Da",
      "ground": "REF"
    }
  },
  "presentation": {
    "title": "Author-selected IDs",
    "theme": {
      "preset": "geist-print"
    },
    "highlight": {
      "components": [],
      "nets": []
    }
  }
}
Expected outcome & actual diagnostics · JSON
{
  "id": "led-series/custom-ids/geist-print",
  "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": 64.68,
        "y": 57.86,
        "width": 307.394,
        "height": 24.548000000000002
      },
      "subtitle": {
        "x": 64.3,
        "y": 104.11,
        "width": 347.265,
        "height": 13.320000000000007
      },
      "Ra:id": {
        "x": 365.46,
        "y": 194.22,
        "width": 19.439999999999998,
        "height": 12.99600000000001
      },
      "Ra:value": {
        "x": 340.2,
        "y": 217.576,
        "width": 70.58400000000006,
        "height": 17.807999999999993
      },
      "Vs:id": {
        "x": 250.54,
        "y": 329.22,
        "width": 19.620000000000033,
        "height": 12.995999999999981
      },
      "Vs:value": {
        "x": 251.44,
        "y": 352.96,
        "width": 41.04000000000002,
        "height": 17.424000000000035
      },
      "Da:id": {
        "x": 745.62,
        "y": 325.22,
        "width": 19.079999999999927,
        "height": 12.995999999999981
      },
      "Da:value": {
        "x": 746.4,
        "y": 348.96,
        "width": 39.888000000000034,
        "height": 17.04000000000002
      },
      "REF:port": {
        "x": 491.19,
        "y": 445.93,
        "width": 28.38999999999993,
        "height": 12.069999999999993
      },
      "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": {
      "Ra": {
        "x": 303.5,
        "y": 254.5,
        "width": 143,
        "height": 31
      },
      "Vs": {
        "x": 146.5,
        "y": 298.5,
        "width": 67,
        "height": 103
      },
      "Da": {
        "x": 630.5,
        "y": 308.5,
        "width": 75,
        "height": 83
      },
      "REF": {
        "x": 419.5,
        "y": 438.5,
        "width": 41,
        "height": 27
      }
    },
    "routes": {
      "fuente": [
        {
          "x": 178.5,
          "y": 268.5,
          "width": 3,
          "height": 33
        },
        {
          "x": 178.5,
          "y": 268.5,
          "width": 128,
          "height": 3
        }
      ],
      "rama": [
        {
          "x": 443.5,
          "y": 268.5,
          "width": 208,
          "height": 3
        },
        {
          "x": 648.5,
          "y": 268.5,
          "width": 3,
          "height": 43
        }
      ],
      "retorno": [
        {
          "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 exampleAuthor-selected IDsgeist-darkNext example →Señal, tensión y Ωgeist-light
CircuitKit · By Crafter Lab

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

Apache-2.0Source on GitHub ↗