ImNodes
ImNodes copied to clipboard
Is general slot type provided?
In the example, I can only connect an input slot with an output slot. However, I want some general slots beyond input and output which can be connected each other even though the slots are in the same node. Could you please give me some suggestions? Thank you a lot.
There is no such type. May not be hard to support though.
I think we've patched ImNodes to do so. However I'm not sure if it was the best approach. See: https://github.com/hku-ect/gazebosc/pull/164
This side of things may use a refactor maybe. Im thinking instead of slot_any, something like slot_accepts + slot_group + slot_kind could provide more flexibility. It needs more thinking through of various usecases.