Skip to content

Point the Input and Output nodes toward their pins - #68

Merged
chelproc merged 1 commit into
mainfrom
interface-node-shape
Nov 1, 2026
Merged

chelproc merged 1 commit into
mainfrom
interface-node-shape

Conversation

@chelproc

@chelproc chelproc commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Draw the Input and Output nodes as pentagons pointing toward their pin, which tells them apart without the component name above them, and drop the chip around their label. Clicking an Input node anywhere now increments its value in play mode.

  • Move the stroke and fill of the node shapes into Node/style.module.css, shared by the default and interface renderers
  • Give the selected class to the element wrapping a node in the node renderer, and remove nodeState from the props of the renderers
  • Disable noPropertyAccessFromIndexSignature so that the classes of a CSS module can be accessed with dot notation

Draw the Input and Output nodes as pentagons pointing toward their pin,
which tells them apart without the component name above them, and drop
the chip around their label. Clicking an Input node anywhere now
increments its value in play mode.

Move the stroke and fill of the node shapes into a CSS module shared by
the default and interface renderers. The node renderer gives the
`selected` class to the element wrapping a node, so the renderers no
longer receive the selection state. Disable
noPropertyAccessFromIndexSignature, which forbids accessing the classes
of a CSS module with dot notation.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

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

Latest commit: 294c5f2
Status: ✅  Deploy successful!
Preview URL: https://1d423872.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev
Branch Preview URL: https://interface-node-shape.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev

View logs

@chelproc
chelproc merged commit e76c191 into main Nov 1, 2026
2 checks passed
@chelproc
chelproc deleted the interface-node-shape branch November 1, 2026 02:30
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