Network topology describes the physical and logical relationship of network devices such as switches and routers on a network. This is usually represented by a graph. It determines how different nodes on a network are connected to each other and how they communicate.