mytestbed / omf_web

OMF Visualisation
2 stars 3 forks source link

Showing packet transfer on network widget #4

Open maxott opened 12 years ago

maxott commented 12 years ago

Any suggestions on showing packet transfers between 2 nodes on the network widget? An API of type move_packet(from, to, deadline) could accumulate these events to be rendered on next update, for example.

maxott commented 12 years ago

The network widget relies on two data streams, one for the nodes and one for the links. You can then map any property of the links stream to a visual attribute of the link, colour, thickness, .. I believe the current network widget in 'demo' already demonstrates that. Or are you looking for something else - little dots travelling along a link is not implemented as that is too 'blatantly demo' for me. Having said that, it won't be difficult to do, either. Again the 'bridge' demo has an example where newly arriving events are visualised as 'dropping cycles off the bridge'