Real-time diagramming and flow-charting