As far as i know there isn't a built-in utility within Cisco pyATS to directly generate network diagrams from the testbed YAML file. However you can use a Python libraries like graphviz
or networkx
and parse the YAML file and programmatically build a network graph, it does requires some Python knowledge but offers more automation compared to doing this in a manual way.
Hope this helps.
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io