On Sunday 08 March 2009 23:05:49 Gloria W wrote:
> Oh, wow...that is so damned cool.
It is indeed, and it's all Matt's work :)
Furthermore, it can also look inside itself:
~/code.google/kamaelia/trunk/Code/Python/Kamaelia/Tools> ./AxonVisualiser.py
--navelgaze
> It seems like these few lines give you introspection into any Kamaelia
> process:
>
> from Kamaelia.Util.Introspector import Introspector
> from Kamaelia.Visualisation.Axon.AxonVisualiserServer import AxonVisualiser
>
> # Start the introspector and connect to a local visualiser
> Pipeline(
> Introspector(),
> TCPClient("127.0.0.1", 1500),
> ).activate()
>
> And clicking on nodes/connectors reports out to the console.
>
> This is so great. Wow.
FWIW, I'd always hoped that it would get to that stage, and when Matt wrote
the first version of the visualiser it was a really great moment.
As you can see btw, it's just another set of components, so you can either
drive it via the introspector, or pump in data manually. Or catch the output
from the introspector for playback later. etc.
The ER visualiser code which I wrote a while back was a 1/2 day hack on top of
this code for example, and let me focus on modelling rather than layout...
Matt's topology visualiser code is probably one of my favourite bits of code
in Kamaelia :)
Michael.
--
http://yeoldeclue.com/blog
http://twitter.com/kamaelian
http://www.kamaelia.org/Home
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"kamaelia" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/kamaelia?hl=en
-~----------~----~----~----~------~----~------~--~---