A Diagrammatic Approach To Networks Of Spans And Relations