Euclidean distance computation for vertices with x and y attributes.
1  | euclidean.vertex.distance(graph, v1, v2)
 | 
graph | 
 The corresponding graph object  | 
v1 | 
 The first vertex  | 
v2 | 
 The second vertex.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.