;, &quot;a5&quot;);</b>
&nbsp;
<b class="fc">&nbsp;        v1.addEdge(&quot;e&quot;, v2);</b>
<b class="fc">&nbsp;        v1.addEdge(&quot;e&quot;, v3);</b>
<b class="fc">&nbsp;        v1.addEdge(&quot;e&quot;, v4);</b>
<b class="fc">&nbsp;        v1.addEdge(&quot;e&quot;, v5);</b>
&nbsp;
<b class="fc">&nbsp;        g.tx().commit();</b>
&nbsp;
<b class="fc">&nbsp;        List&lt;Vertex&gt; result = g.traversal().V(v1).out(&quot;e&quot;).has(&quot;prop&quot;, P.without(Collections.emptySet())).toList();</b>
