Lines of Thought: Branching Diagrams and the Medieval Mind