ph/topics/make_graph">make_graph</a></span>(<span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/sample">sample</a></span>(LETTERS, <span class="dv">50</span>, <span class="dt">replace =</span> <span class="ot">TRUE</span>))

vertices &lt;-<span class="st"> </span>igraph<span class="op">::</span><span class="kw"><a href="https://www.rdocumentation.org/packages/igraph/topics/graph_from_data_frame">as_data_frame</a></span>(g, <span class="dt">what =</span> <span class="st">"vertices"<