Hi,
On 9 March 2014 00:48, Oliver Rolle <oliver...@googlemail.com> wrote:
> I use the online version http://noflojs.org/noflo-ui/ and checked out the
> git repo & followed the install instructions of noflo-ui (which were
> successful). But I stuck in both cases.
> I created a new graph (test) and 2 components (hello & world). The 2
> components have alert("") in their implementation. I want to add both
> components to the graph. How do I do that?
So, to make sure: you created a project inside NoFlo UI, and then
added some components to it?
In that case the components will be sent
to the FBP runtime automatically when you're in the graph editor. If
they are correctly made (no parse errors, etc), they should show up
when you search.
Try searching either by component name or type "show library" to see
all components available in the runtime.
Hi,
On 9 March 2014 01:35, Oliver Rolle <oliver...@googlemail.com> wrote:
> yes. look here: http://noflojs.org/noflo-ui/#project/Test/2avr7
Sorry, the projects are stored in your browser's local storage, so I
have no access to that.
> Is fbp runtime in the browser? I do not get any error output on firebugs
> console or elsewhere.
Yep, it is controlled from the top right corner of your screen. Is the
"refresh" button showing green for you? That means you're connected.
> I searched locally and remotely for "show library" or the components name
> ("Hello", "World"). In every case I have no results.
No, click the search bar on the top-left corner of the screen and type there.
It should look something like http://i.imgur.com/DSXY2OI.png
Hi,
On 9 March 2014 01:50, Oliver Rolle <oliver...@googlemail.com> wrote:
> yes, its green.
> it does not look like on your pic :( I type "show library" in the search
> box, but no result set "appears".
Does it otherwise look like my screenshot?
What exact browser and version do you have? There might be curious
issues with Polymer (which our UI is built on) on some of the older
ones.
> email to flow-based-programming+unsub...@googlegroups.com.
Hi,
On 9 March 2014 15:38, Paul Morrison <jpau...@gmail.com> wrote:
> Thanks, I found the IIPs - I wouldn't have thought of using the scrolling
> wheel - I have actually never had to use it before! :-) I think I would
> have liked to see the IIPs on the network diagram, but maybe you were short
> of space!
There is a little indicator that an IIP is there even when zoomed out,
but when you zoom in you see the actual values.
> And what is the little white rectangle with the two grey triangles in it (up
> and down) - some kind of scrolling control?
What browser (and version) are you using, and on what operating
system? I'm assuming this could be related to this bug:
https://github.com/noflo/noflo-ui/issues/131
IMO making the IIPs only show when you click on the process block makes them seem internal to the process - which they are not. Since in NoFlo, if I understand it correctly, they emit an IP, it makes even more sense (again IMO) to make them a block on the diagram. This would also enable some more gestures, such as clicking on them to edit, or perhaps emit a value, displaying the IP as it is emitted, etc. ...
What do you think? Maybe Forrest could come up with a neat icon...?
We are visualizing IIPs as external to the process now, visible by zooming in:Editing is still done in the node inspector, but a medium-term goal is to do more editing in-situ. Direct manipulation is the mantra.
On 2014-03-10 1:00 PM, "Forrest Oliphant" <auf...@forresto.com> wrote:
>
> We're mimicking established gestures for digital map navigation: zoom = wheel or pinch. Zoomable UI has only really been adopted with maps: show country / city / street info as it becomes relevant. I think that the concept of getting closer to see details "maps" really well to what we're building, and I want to explore it more. It also maps well to the huge variety of screens and resolutions that we're targeting.
Yes, I do like that technique - I actually don't use it in DrawFBP, but then I use double click to give more info about a given process. What you describe is certainly appropriate for showing, say, component names.
>
> I actually wasn't a huge fan of Google Maps' wheel-zoom: the time that it takes to load the map tiles disconnects the gesture from the motion. But I think it is powerful in NoFlo UI, and I'm happy with how smooth we've gotten it with SVG.
That may be part of my problem with the wheel - it is very unsmooth on my machine (Firefox 27)! And, as I said, I don't have the wheel habit!
>
> Rather than dragging the map, zoom out, move mouse to target, zoom in. It takes a little getting used to, but I think it works.
But surely you only have to do this to see IIPs. You can grasp the flow without needing to see component names, so IIPs are the only other things that you really need to see. Plus, DrawFBP does stepwise decomposition, which is key to understanding complex networks, so the network on a given screen is always a manageable size. In DrawFBP IIPs don't take up much room!
>
> By direct manipulation I mean clicking on an IIP to get an editor widget in place, as opposed to an inspector panel in the sidebar.
That sounds like what I'm asking for...
>
> I think we'll leave IIPs like this for now. I don't want more things to drag around.
>
Give DrawFBP a try - dragging IIPs is not that bad! :-)
Regards,
Paul
Sorry, do you mean we can develop personalized UIs? That will be fantastic!
I suppose whether we need to see IIPs also depends on how meaningful our process names are...
As the clock example is now, I'm dividing the timestamp directly by those values, which gives the correct rotation percentage. (As analog "sweep" clock movement, the minutes and hours also move a bit every second.) Adding some more components might make the math easier to follow. I might do that.
The components have labels and sublabels. The labels are user-defined. I
think of them like code comments. The
sublabels are library/component.