{"id":16716118,"url":"https://github.com/benrosen/circuit-graph-toys","last_synced_at":"2026-01-02T06:04:06.859Z","repository":{"id":181286151,"uuid":"666508466","full_name":"benrosen/circuit-graph-toys","owner":"benrosen","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-14T20:11:59.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T23:46:46.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benrosen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-14T17:46:37.000Z","updated_at":"2023-07-14T17:46:38.000Z","dependencies_parsed_at":"2023-07-14T20:04:37.896Z","dependency_job_id":null,"html_url":"https://github.com/benrosen/circuit-graph-toys","commit_stats":null,"previous_names":["benrosen/circuit-graph-toys"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Fcircuit-graph-toys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Fcircuit-graph-toys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Fcircuit-graph-toys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Fcircuit-graph-toys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benrosen","download_url":"https://codeload.github.com/benrosen/circuit-graph-toys/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707381,"owners_count":20334619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T21:11:59.193Z","updated_at":"2026-01-02T06:04:01.827Z","avatar_url":"https://github.com/benrosen.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# `circuit-graph-toys`\n\n## List of circuit components\n\n- resistor\n  - core\n    - resistance\n    - power rating (watts)\n    - tolerance\n    - type (carbon, metal film, etc)\n  - interfaces\n\t- a\n    - b\n- capacitor\n  - core\n\t- capacitance\n\t- voltage rating\n\t- tolerance\n\t- type (ceramic, electrolytic, etc)\n    - is polarized\n  - interfaces\n    - a\n      - polarity (positive, negative, or none)\n    - b\n      - polarity (positive, negative, or none)\n- potentiometer (technically this is a type of resistor...)\n  - core\n    - resistance\n    - power rating (watts)\n    - type (linear, logarithmic, etc)\n  - interfaces\n\t- a\n\t- b\n\t- wiper\n- choke\n  - core\n    - inductance (henries)\n    - current rating (amps)\n  - interfaces\n    - a\n    - b\n- power transformer\n- output transformer\n- tube\n- diode\n- transistor\n- opamp\n- speaker\n- switch\n\n## Considerations\n\n- how many connections each of those components has i/o\n- each component is actually comprised of interfaces and a core, which might mean multiple nodes per component or maybe not\n- different kinds of components\n- cores can have properties\n- interfaces can have properties\n- core + interfaces = component\n-\n\nbranch nodes don't have properties\nbranch nodes are connected to core nodes via \"branchOf\"\n\"branchOf\" has a property called \"polarity\" which is either -1, 0, or 1\n\n\n```mermaid\nflowchart LR\n\tr1(name:r1, ohms:68000, watts:0.5)\n\tr1-1(name:R1-1)\n\tr1-2(name:R1-2)\n\n\tr2(name:r2, ohms:68000, watts:0.5)\n\tr2-1(name:R2-1)\n\tr2-2(name:R2-2)\n\n\tC1(name:C1, farads:0.000025, volts:50)\n\tC1-1(name:C1-1)\n\tC1-2(name:C1-2)\n\n\tr1-1-.inferfaceOf.-\u003er1\n\tr1-2-.inferfaceOf.-\u003er1\n\n\tr2-1-.inferfaceOf.-\u003er2\n\tr2-2-.inferfaceOf.-\u003er2\n\n\tC1-1-.inferfaceOf polarity:-1,0,1.-\u003eC1\n\tC1-2-.inferfaceOf polarity:-1,0,1.-\u003eC1\n\n\tr1-1-.connectedTo.-\u003er2-1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenrosen%2Fcircuit-graph-toys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenrosen%2Fcircuit-graph-toys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenrosen%2Fcircuit-graph-toys/lists"}