Added support for graphs

Also added small bits of code to center the name on the matrix display.