Graphs from Rings