A graphical approximation to generalization: Definitions and diagrams