Graphing library for quality control in event-driven systems