<｜begin▁of▁sentence｜>### Instruction:
Given an Erdős-Rényi graph with 10 nodes and a connection probability of 0.5, can you stream the graph to a local Gephi instance using the GephiGraphStreamingDrawer()?
### Response:
from igraph import Graph
from igraph.drawing.graph import GephiGraphStreamingDrawer

# Create a graph
graph = Graph.Erdos_Renyi(n=10, p=0.5)

# Construct the Gephi graph streaming drawer connecting to local Gephi instance on the default port
# and using the default workspace (0)
drawer = GephiGraphStreamingDrawer()

# Use the drawer to post the graph to Gephi
drawer.post(graph)
<|EOT|>
