ImNodes icon indicating copy to clipboard operation
ImNodes copied to clipboard

Is general slot type provided?

Open Cliff-Lin opened this issue 4 years ago • 3 comments

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.

Cliff-Lin avatar Oct 07 '21 16:10 Cliff-Lin

There is no such type. May not be hard to support though.

rokups avatar Oct 12 '21 11:10 rokups

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

sphaero avatar Nov 21 '21 19:11 sphaero

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.

rokups avatar Nov 22 '21 07:11 rokups