<｜begin▁of▁sentence｜>### Instruction:
Given an Erdős-Rényi graph with 100 vertices and a connection probability of 0.1, can you use the layout_umap method in igraph to compute the UMAP layout and visualize the graph?
### Response:
import igraph as ig

# Create a graph
g = ig.Graph.Erdos_Renyi(n=100, p=0.1)

# Calculate the UMAP layout
layout = g.layout_umap()

# Plot the graph using the UMAP layout
ig.plot(g, layout=layout, vertex_label=range(g.vcount()))
<|EOT|>
