<｜begin▁of▁sentence｜>### Instruction:
As a microbiologist working in a research laboratory, you're exploring the interactions of various microorganisms in a controlled environment. Suppose you're investigating the spread of bacteria within a community of 10 organisms, each potentially connected to others. You're particularly interested in visualizing this network to better understand the patterns of connectivity.

To achieve this, you plan to use the capabilities of igraph, a tool commonly employed in microbiology research for network analysis. Specifically, you're interested in generating an Erdos-Renyi graph with 10 vertices, representing the organisms, and a connection probability of 0.5, simulating the likelihood of interactions between them.

Now, to visualize this graph, you intend to utilize the `AbstractCairoDrawer.__init__` method in igraph, combined with the `DefaultGraphDrawer`, a feature that enables the creation and display of graphical representations of networks. Once the graph is generated and visualized, you aim to save the resulting plot as an image file named 'graph.png', allowing for further analysis and documentation of your findings.
### Response:
from igraph import Graph
from igraph.drawing import Plot
from igraph.drawing.cairo.graph import DefaultGraphDrawer

def create_plot(graph, filename):
    plot = Plot(surface=filename, bbox=(600, 600), background='white')
    drawer = DefaultGraphDrawer(context=plot.context, bbox=plot.bbox)
    drawer.draw(graph)
    plot.show()

# Create a simple igraph Graph
g = Graph.Erdos_Renyi(n=10, p=0.5)

# Create a plot of the graph
create_plot(g, 'graph.png')
<|EOT|>
