<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edge set [(0, 1), (1, 2), (2, 3), (0, 3)], and assuming it's an undirected graph, how can the 'Graph.Graph.to_networkx' function be used to convert an igraph graph to a networkx graph and print the nodes along with their original igraph indices?
### Response:
from igraph import Graph
import networkx as nx

# Create an igraph graph
ig = Graph(edges=[(0, 1), (1, 2), (2, 3), (0, 3)], directed=False)

# Convert the igraph graph to a networkx graph
nx_graph = ig.to_networkx()

# Print networkx graph info
print(nx.info(nx_graph))

# Iterate through networkx nodes and print them with their igraph index
for node in nx_graph.nodes(data=True):
    print(node)
<|EOT|>
