ans,unans=traceroute(['www.google.co.uk','www.yahoo.com','www.microsoft.com'])
ans ans.graph(target="> /tmp/graph.svg")

Traceroute