Name change of input_nodes and output_nodes
Currently a graph has this:
"input_nodes": [
{"alias": "alias1", "id": "name1", "sub_node": "nameA"},
{"alias": "alias2", "id": "name2", "sub_node": "nameB"},
]
"output_nodes": [
{"alias": "alias3", "id": "name3", "sub_node": "nameC"},
{"alias": "alias4", "id": "name4", "sub_node": "nameD"},
]
"nodes": [
{"id": "name1"},
{"id": "name2"}
]
All the values of these dictionaries are id's ("alias" is an alias of a node id in the "nodes" list). Id's are used when making links ("source" and "target" refer to the id of the source of the link and the id of the target or the link).
After some discussion this was proposed:
"input_nodes": [
{"id": "alias1", "node": "name1", "sub_node": "nameA"},
{"id": "alias2", "node": "name2", "sub_node": "nameB"},
]
"output_nodes": [
{"id": "alias3", "node": "name3", "sub_node": "nameC"},
{"id": "alias4", "node": "name4", "sub_node": "nameD"},
]
"nodes": [
{"id": "name1"},
{"id": "name2"}
]
@koumouts @svensson @payno Let me know what you think. I would avoid using "name" or "label" in input_nodes and output_nodes because all the values are id's. In the future nodes may get a name or a label in addition to their id.