Category diagramming