I'm having a great time here in Boston. So many brilliant people. Keep up the good work!
Anyways, here's the code from my presentation. Both the messaging stuff and the graphing stuff is in there. Please note that the graph thing is more of a proof of concept so it won't handle everything :)
Simple messaging sample with chain graphing