This is cool. I've been wanting to do this for a while, but never got around to it.
I added a photo generated from the defaults and an example script for the users.
Thanks for the feedback. It actually took a very long time to get it to all work properly. I had to play around with different ways to draw the arrows and figuring out the geometry for the cone was quite challenging. Eventually, it all came together and then I added all of the bells and whistles. The original motivation was for a publication image but I thought other people would be interested. My next goal would be to draw a curved line rather than a straight vector/cylinder that could pass through multiple states which would likely require cubic spline interpolation. Although, it's not currently high on the priority list (graduating is...).