The best way to discover a network and diagram it is a commercial product called "Netbrain" their website is https://www.netbraintech.com/, The simpler open source version of doing this would be nmap(Zenmap) and stitch the output files together and diagram the layout.