https://www.centerspace.net/doc/NMath/ref/html/M_CenterSpace_NMath_Core_ConnectivityMatrix_SetLabels.htm
ConnectivityMatrix.SetLabels Method
Sets the labels to the input values filling in with default values if there order is greater than the number of input labels.
setlabelsmethod