I’m trying to make a program in Java that makes this graph pictured below, connecting words that are only one letter away from each other.
Picture of a graph made out