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

Allow to specify edge metadata

Open jonnor opened this issue 11 years ago • 4 comments

One usecase is for specifying connection capacities on buffered, for runtimes which support this (currently JavaFBP).

If the UI is specific to this purpose, it may be neccesary to add a capability to the protocol for this feature so we can show-hide it as appropriate.

jonnor avatar Sep 25 '14 20:09 jonnor

This should be added to the edge inspector

bergie avatar Sep 26 '14 01:09 bergie

In the pre-NoFlo .fbp notation, connection capacity is specified by a number in brackets after the arrow. This seems to me the logical place to put it. Putting it as metadata associated with the target component actually works for "classical" FBP because of the rule against one output port feeding multiple input ports, but it's still slightly counterintuitive.

Whichever convention we adopt, we need to decide on a syntax, and document it.

jpaulm avatar Oct 06 '14 17:10 jpaulm

Related: node metadata, #482

jonnor avatar Jul 01 '15 20:07 jonnor

An example of an edge metadata property editor is #472

bergie avatar Mar 18 '16 17:03 bergie