<｜begin▁of▁sentence｜>### Instruction:
As a Social Media Manager, you have been tasked with analyzing the network of political blogs to understand their connections and interactions. To do this, you need to convert the graph from a networkx graph to an igraph graph while maintaining its undirected nature. This will allow you to gain deeper insights into the relationships between different political blogs, which can be used to develop effective social media strategies and engage with the target audience. By leveraging the data from the 'polblogs.gml' file and utilizing the appropriate conversion methods, you can seamlessly transition the graph into an igraph graph for further analysis and insights.
### Response:
import networkx as nx
from cdlib.utils import convert_graph_formats

# Load a graph from a gml file
g = nx.read_gml('polblogs.gml')

# Convert the networkx graph to an igraph graph object
ig_graph = convert_graph_formats(g, desired_format='ig.Graph', directed=False)

print(type(ig_graph))
<|EOT|>
