On some graphs associated to commutative semirings