enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 321 forks source link

Ability to create nodes from nodes #10728

Open marthasharkey opened 1 month ago

marthasharkey commented 1 month ago

Discord username

martha3825

How important is this feature to you?

3 – Lack of it makes using Enso slightly harder

Describe the idea you'd like to see implemented.

when using the createNodes funtion, or Ast library it'd be great to be able to create one node from another. For example Table -> filterNode -> sortNode.

Is your feature request related to a problem?

relates to #10491

Screenshots, screencasts, mockups.

No response

Would you be willing to help us implement this feature?

No

farmaazon commented 1 month ago

@marthasharkey Is it blocking you? I assume https://github.com/enso-org/enso/issues/10491 could be handled by just putting one node, like node1.sort <args> . filter <args>?

somebody1234 commented 1 month ago

i do think that does make more sense, the node graph ends up a bit cleaner. and also it's not like the resulting expression is more difficult to edit either way, i think?

farmaazon commented 1 month ago

also it's not like the resulting expression is more difficult to edit either way, i think?

It should not, the widgets should work normally. It's may only look confusing (see https://github.com/enso-org/enso/issues/10278)