biolab / orange-canvas-core

Orange Canvas core workflow editor
GNU General Public License v3.0
36 stars 62 forks source link

Output/input subtypes #230

Closed ajdapretnar closed 2 years ago

ajdapretnar commented 2 years ago

We are struggling quite a bit with widget signals in Text. Currently, widgets look at signal type (Table, Corpus, Distances, etc.) and take the first suitable input. However, we'd often like to be more specific. I.e. Ontology outputs Words, which is a Table. Connecting it to Semantic Viewer first, results in Words being used as a Corpus instead of Words.

Screenshot 2022-05-09 at 11 03 20

Preferably, one could define a more specific input type, so when Words are on the input, they would be used as Words, not Corpus. This would currently be most useful for Text, but surely there could be other use cases.

ales-erjavec commented 2 years ago

If https://github.com/biolab/orange3-text/pull/855 is not sufficient then reopen this.