alelievr / NodeGraphProcessor

Node graph editor framework focused on data processing using Unity UIElements and C# 4.6
https://github.com/alelievr/NodeGraphProcessor/projects/2
MIT License
2.21k stars 369 forks source link

CustomPortBehaviour With PropertyDrawer #202

Open dannymate opened 2 years ago

dannymate commented 2 years ago

I want my dynamic port creation to have the option for adding the property drawer to the port. Ideally this would be in portdata and/or InputAttribute.

I have a string Input port that gets created dynamically and would like the field to show next to the port as if it had the [ShowAsDrawer] attribute.

dannymate commented 2 years ago

If I create a new port on a node the propertydrawer isn't shown next to the node. More so the property drawers aren't updated and there doesn't seem to be a way to reload a node to force these changes to take effect.