This is a fork of one example offered in https://github.com/ipspace/ansible-examples.git. The only difference is the use of the table/views funcionality offered by the native py-junos-eznc library instead of using other libraries.
Generate the network diagram (in PNG format) with
dot -Tpng network.dot >network.png