ass="fc">&nbsp;        final Vertex v2 = graph.addVertex(T.label, &quot;person&quot;, &quot;uid1&quot;, UUID.randomUUID().toString(), &quot;uid2&quot;, UUID.randomUUID().toString());</b>
<b class="fc">&nbsp;        final Edge e1 = v2.addEdge(&quot;friends&quot;, v1, &quot;weight&quot;, 0.5d, &quot;uid1&quot;, UUID.randomUUID().toString(), &quot;uid2&quot;, UUID.randomUUID().toString());</b>
<b class="fc">&nbsp;        final Edge e2 = v1.addEdge(&quot;friends&quot;, v2, &quot;weight&quot;, 1.0d, &quot;uid1&q