How to make vertex colored squares show black borders

You may want to have a look at the vtkFeatureEdges class to get rid of the inner edges.