noflo-canvas icon indicating copy to clipboard operation
noflo-canvas copied to clipboard

MakePoint receives number, array but not "inline arrays"

Open automata opened this issue 11 years ago • 4 comments
trafficstars

MakeRange 0..10 => X MakePoint works as well 100 => X MakePoint but [0,50,100] => X MakePoint doesn't. Sounds that's ok on MakePoint.coffee. The same to arcs, rectangles and other "primatives".

How to support both number and array in inPorts/outPorts? It works checking inPorts/outPorts type but it's reflected on UI, right @forresto?

automata avatar Apr 29 '14 01:04 automata

"Inline array" from node inspector, or JSON?

forresto avatar Apr 29 '14 05:04 forresto

With the node inspector we would have to hack noflo-ui to support multiple types. But we should have a mechanism there for custom input widgets anyhow. Especially point objects are a pain to type.

forresto avatar Apr 29 '14 05:04 forresto

From the node inspector. Should we open an issue on noflo-ui about "custom input widgets"?

automata avatar May 03 '14 21:05 automata

A larger question here: https://github.com/noflo/noflo-ui/issues/184

forresto avatar May 04 '14 12:05 forresto