clarkmcc / ngraph

A blender-style node editor for React, built on xyflow
https://ngraph.clarkmccauley.com
MIT License
50 stars 3 forks source link

Restrict input types to that get rendered to HTML to not generate HTML errors #29

Closed sroussey closed 9 months ago

sroussey commented 9 months ago

Pulled this out and made a draft.

sroussey commented 9 months ago

There are different editors for text, number, color, url, etc.

Also means that default values are checked a bit better than whatever "value" was supposed to mean.

Also, how you name your valueType no longer matters and has no side effect in the HTML