matrixes as graph parameters