A generalized directed graph for use in my app, and for general practice.