<｜begin▁of▁sentence｜>### Instruction:
As an environmental engineer working on a project to analyze and visualize water quality data from various sources, you need to create plots of networks representing water distribution systems. You have already constructed a graph using NetworkX and generated a plotting object for it. Now, you're tasked with adding a title to the plot and aligning the text in the middle before saving it as an image file. How can you achieve this using the capabilities of NetworkX?
### Response:
from igraph import Plot, TextAlignment

# Create an empty plot of size 300x300
plot = Plot(bbox=(300, 300), background='white')

# Set title text
plot.title = 'Graph Title'

# Set alignment to the middle
plot.title_alignment = TextAlignment.middle

# Save the plot
default_path = 'plot_with_title.png'
plot.save(default_path)
print(f'Plot saved to {default_path}')
<|EOT|>
