a diagram of dots and lines