Diagrammatic autarchy. Linear diagrams in the 17th and 18th centuries