the-graph
the-graph copied to clipboard
Visualize addressability of ArrayPorts
With ArrayPorts we should, instead of having multiple wires going to a single port, have them each connect to a different port.
So, instead of multiple connections to a in
port, you'd have a connection to in[0]
, another to in[1]
etc.
See noflo/noflo-ui#14
Need this for IIPs: https://github.com/bergie/flowcopter/blob/master/graphs/RouteCommands.fbp
This will also help with autolayout sorting of nodes connected to an arrayport.
As a hack for now, @automata do you think if we fake the port position (portY + (arrayportIndex * 0.01)
) Klay will sort the upstream nodes better? Eg:
(point could be above curve, b/c it is connected to arrayport 0)
@forresto just keep in mind that we have both kinds of connections:
- Multiple connections to/from a regular port
- Multiple connections to/from ArrayPort, by index