No. Granite is an intrusive igneous rock, formed from the solidification of magma underground. Slate is a low grade metamorphic rock formed from heat and pressure applied to deposits of shale, a sedimentary rock.
diamonds and graphite are the same as they are made of the same element: carbon. what makes them so different in apperance is the different way the carbon atoms are bonded.