Switch <------> Switch
Switch <------> Router
Router <-----> Router
The Discovery process is responsible for identifying connection points between devices and populating the topology with cables, trunk cables and network connections and the relationships between these are:
Switch (Port) <--- ConnectedVia/to Trunk Cable ---> Switch (Port)
Switch (Port) <--- ConnectedVia/to Cable ---> Router (Interface)
Router (Interface) <--- ConnectedVia/to NetworkConnection ---> Router (Interface)