UI Node Extra Output Ports

I’ve created some dropdown nodes that inherit from DSDropDownBase and the issue I’m having is that an extra output port is created every time the graph is saved and reopened. Also after saving and reopening, an exception is thrown saying that “an element with the same key but different value already exists.” Any ideas?

Home_2021-08-16_08-22-25

While this is admittedly a pretty cool trick I’ve stumbled upon (who doesn’t want a node that evolves over time?), it’s not what I was going for :slight_smile:

implement a json constructor that reuses the deserialized ports from the .dyn file.

5 Likes

Thanks Michael! That did it.

For future readers, this old post is helpful for background info. Should’ve searched a little harder before I posted.

1 Like