the-graph icon indicating copy to clipboard operation
the-graph copied to clipboard

Visualize addressability of ArrayPorts

Open bergie opened this issue 11 years ago • 4 comments

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

bergie avatar Nov 20 '13 10:11 bergie

Need this for IIPs: https://github.com/bergie/flowcopter/blob/master/graphs/RouteCommands.fbp

forresto avatar Feb 25 '14 13:02 forresto

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: screen shot 2014-06-18 at 11 30 10 am (point could be above curve, b/c it is connected to arrayport 0)

forresto avatar Jun 18 '14 08:06 forresto

@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

bergie avatar Jun 18 '14 08:06 bergie

@forresto now that we have FIXED_POS as default port constraint, I think it can helps.

If we have arrayportIndex in portInfo it is easy to test. I can give it a try.

automata avatar Jun 18 '14 12:06 automata