Onto-semiotic configurations underlying diagrammatic reasoning