Logic Simulator example UI (LogicUI), Delete-key test

This commit is contained in:
4DBug committed 2026-10-17 06:19:09 -05:00
1 parent 53d4cfba75
commit d471cb855c
5 files changed
+253 -172

No files matched your search

+6 -1
View File
@@ -47,7 +47,12 @@ RunService.RenderStepped:Connect(function()
end)
```
Full example (ports of upstream `hello`, `multi_editor`, `save_load`): `examples/roblox/main.client.luau`.
Full example: `examples/roblox/main.client.luau` — a "Logic Simulator" window (`LogicUI.lua`) over the
`LogicSim.lua` model. Put `ImGui`, `ImNodes`, `LogicSim`, `LogicUI` in ReplicatedStorage.
- File menu: New, Save (graph + editor layout to an in-memory string), Load, Clear (drop saved text), Show Save Text (copyable).
- Examples menu: Half Adder, Full Adder (default), 4-bit Ripple Adder, SR Latch, Blinker.
- Right-click canvas: Add Node (Inputs/Gates/Outputs/Memory); right-click node: Duplicate/Delete; right-click link: Delete.
- Delete/Backspace removes selected nodes and links. Lit pins/links are green.
## API differences