In[]:=
data=Import["https://gist.githubusercontent.com/alen-z/6d366a1cc2fbd1bdf35b637f90df5b4e/raw/39afe2ab9de63d6ad28dcf928673d3ef4a600d00/global-latency-sites.csv","Data"]
Out[]=
In[]:=
vertices={};For[i=2,i≤Length[data],i++,AppendTo[vertices,ToString[data[[i,1]]]ToString[data[[i,2]]]]]vertices
Out[]=
$Aborted
Out[]=
In[]:=
edgeweights={};For[i=2,i≤Length[data],i++,AppendTo[edgeweights,data[[i,3]]]]edgeweights
Out[]=
In[]:=
g=Graph[vertices,EdgeWeightedgeweights]
Graph
In[]:=
FindShortestPath[g,"mymac","www.apple.com"]
Out[]=
{mymac,aws-eu-central-1c,linode-instance-eu-central,www.apple.com}
In[]:=
FindShortestPath[g,"ali-eu-west-1b","ali-ap-southeast-2a"]
Out[]=
{ali-eu-west-1b,droplet-lon1,droplet-sgp1,linode-instance-ap-south,linode-instance-ap-southeast,ali-ap-southeast-2a}