logigate/app/lib/logic
Fabian @ Blax Software 1be913bd24 A ports on top of the box, split into lines to wire by hand
On a component's box every connector port now sits at the very top of its
side, above the single pins, in auto and hand-drawn boxes alike. A port
can be split on one placed component (its settings or right click: Split
… into lines): right below the socket the box then gets a pin per line,
named after the line, so lines can be wired by hand without an adapter.
Lines going into the component are inputs, lines coming out outputs, each
facing out of its side; a bar in the type's colour ties them to the
socket. A cable still plugs into the socket at the same time. Dropping a
single wire on a socket (or clicking one while connecting) splits the
port and takes the first free line that runs that way. Join … lines
takes the line pins and their wires away again, as one undo step.

A line wired by hand joins the same net the cable's line reaches inside;
a wire and a cable on one line both drive it, and the check says so.
Line pins are left out of the open-input warning, docked panels and
bubbles; docked panels no longer get a row for a port's socket either.
Saved as an optional list on the placed component (splitPorts); without
it a box only has its ports moved to the top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:08:27 +01:00
..
analyze.ts BF inverted inputs: lamps and outputs show the inverted value, and checks read it 2026-10-23 12:27:12 +02:00
bulk.ts A output panels, and switches, buttons, clocks or lamps combined into one panel 2026-10-21 14:38:59 +02:00
cables.ts A cable straight off a component's pins: from its outputs or into its inputs, in groups like S0–S3 2026-10-21 14:13:24 +02:00
challenges.ts A logigate: NAND-only logic editor and simulator with components, challenges and examples 2026-10-17 12:49:38 +02:00
check.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
compile.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
examples.ts A transistor counts and records, cables, pixels and screens 2026-10-20 19:29:16 +02:00
fit.ts A connector types of your own: HDMI, RJ45 or any bus, with out and in ports and one cable that carries every line both ways 2026-10-22 18:59:56 +02:00
geometry.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
labels.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
latch.ts A latch parts onto each other: pins touching, no wires, moving together 2026-10-23 15:34:36 +02:00
ops.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
panels.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
progress.ts A connector types of your own: HDMI, RJ45 or any bus, with out and in ports and one cable that carries every line both ways 2026-10-22 18:59:56 +02:00
project.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
puzzles.ts BF inverted inputs: lamps and outputs show the inverted value, and checks read it 2026-10-23 12:27:12 +02:00
routing.ts A latch parts onto each other: pins touching, no wires, moving together 2026-10-23 15:34:36 +02:00
search.ts A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging 2026-10-21 13:26:59 +02:00
sim.ts BF inverted inputs: lamps and outputs show the inverted value, and checks read it 2026-10-23 12:27:12 +02:00
storage.ts A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself 2026-10-22 12:22:35 +02:00
types.ts A ports on top of the box, split into lines to wire by hand 2026-10-26 18:08:27 +01:00
wide.ts BF inverted inputs: lamps and outputs show the inverted value, and checks read it 2026-10-23 12:27:12 +02:00
wires.ts A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging 2026-10-21 13:26:59 +02:00