Skip to content

Add a dedicated renderer for the Input and Output nodes - #65

Merged
chelproc merged 1 commit into
mainfrom
interface-node-renderer
Oct 31, 2026
Merged

chelproc merged 1 commit into
mainfrom
interface-node-renderer

Conversation

@chelproc

Copy link
Copy Markdown
Contributor

The label of the component pin implemented by an Input or Output node used to be drawn by the node pin renderer on top of a default node. This moves it into a renderer shared by the two nodes.

  • Give the Input and Output nodes a compact 70×30 layout with their single pin centered on the right or left edge
  • Show the name of the component pin in edit mode and its value in play mode; clicking the value of an Input node increments it
  • Remove the ComponentPin renderer, which is no longer used

The label of the component pin implemented by an Input or Output node
used to be drawn by the node pin renderer on top of a default node. Move
it into a renderer shared by the two nodes, which also gives them a
compact layout. It shows the name of the component pin in edit mode and
its value in play mode, where clicking the value of an Input node
increments it.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with  Cloudflare Pages  Cloudflare Pages

Latest commit: f8412ea
Status: ✅  Deploy successful!
Preview URL: https://8d8d9a7e.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev
Branch Preview URL: https://interface-node-renderer.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev

View logs

@chelproc
chelproc merged commit 996183f into main Oct 31, 2026
2 checks passed
@chelproc
chelproc deleted the interface-node-renderer branch October 31, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant