For example , though diamond and graphite have the same composition -LRB- both are pure carbon -RRB- , graphite is very soft , while diamond is the hardest of all known minerals .

For example , both diamond and graphite consist of just one element -- carbon .
