I'm trying to add functionality to the noflo ui, I'd like to be able to select groups and display a panel showing the group name and description. (The panel would show up in the same place as the help panel.) I'm trying to do this as the first step to extending the groups paradigm. (I'd like to be able to add more group metadata and allow the user to edit that metadata.)
The Problem
I can't find where to put the hooks for the selected groups collection. (Or selected group property). I've looked at the way the selected nodes collection is implemented but the connection between the selectedNodes property in theGraph/thegraph-editor.html
connects to the nodes property of the node-inspector (in elements/noflo-node-inspector.html
and elements/noflo-context.html
)
I've looked at the application/fbp
scripts in index.html but none of them seems to corrospond to the selected nodes property.
The Question
How can I create a property in theGraph
and watch that property in noflo-ui
?